Re: [xml] indentation after adding new nodes

Senthil Nathan *top-posted* again:
I used xmlSaveFile("file.xml", docTree); This just dumps the xmlDocPtr
docTree to "file.xml"
without any indentation. Is there any options in libxml2 to set it properly.

Care to read the manual?

Go to

and look for "format".


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