adding newline to xml file while creating using libxml1.2.3
How can one a开发者_C百科dd new line using libxml1.2.3. in xml file.
When you dump xml output use xmlSaveFormatFileEnc
instead of xmlSaveFileEnc
. In general use format family of functions, like they do in tree2.c example.
精彩评论