Re: [xml] Question about xmlDumpDoc()



On 28 Aug 08:49, Daniel Corbe wrote:
}Is there a mode of operation or an equivalent function which causes the XML
}file to be written with proper indentation?

Use the *Format* variation of the dump/save functions. eg.

xmlDocFormatDump vs xmlDocDump
xmlDocDumpFormatMemory vs xmlDocDumpMemory
xmlSaveFormatFile vs xmlFormatFile

and so on.

-- 

Callum Gibson @ home




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