xmlDocDumpFormatMemory is available since version 1.0.
Prototype:
string xmlDocDumpFormatMemory(number doc, number format)
Parameters
doc
a XML document tree handle
format
should formatting spaces been added
Description:
Dump an XML document in memory and return the buffer.
Return value:
Returns the dumped buffer.