* xmlDocDumpFormatMemory: * @cur: the document * @mem: OUT: the memory pointer * @size: OUT: the memory length * @format: should formatting spaces been added * * * Dump an XML document in memory and return the #xmlChar * and it's size. * It's up to the caller to free the memory with xmlFree(). * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 * or xmlKeep
| 2734 | * or xmlKeepBlanksDefault(0) was called |
| 2735 | */ |
| 2736 | void |
| 2737 | xmlDocDumpFormatMemory(xmlDocPtr cur, xmlChar**mem, int *size, int format) { |
| 2738 | xmlDocDumpFormatMemoryEnc(cur, mem, size, NULL, format); |
| 2739 | } |
| 2740 | |
| 2741 | /** |
| 2742 | * xmlDocDumpMemoryEnc: |
no test coverage detected