Re: [xml] XML output formatting



Sorry for such naive questions.
I found that I can use xmlSaveFormatFile(). I set format to 1. There is
line breaks now, but no indentation. How can I turn it on?

thanks again,

Wei

On Wed, 20 Mar 2002, Wei Qin wrote:


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

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml





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