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

http://xmlsoft.org/html/libxml-tree.html

and look for "format".

Stefan
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to