[xml] XML output formatting



I am generating an XML file with libxml2. I use xmlSaveFile(). But There
is no line break on the output. Do I have to create text node in the tree
with "\n" so as to see the line breaks? Or is there some auto-format
utilities that I can use?

thanks in advance,

Wei




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]