MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlDocDumpFormatMemory

Function xmlDocDumpFormatMemory

ThirdParty/libxml2/vtklibxml2/xmlsave.c:2736–2739  ·  view source on GitHub ↗

* 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

Source from the content-addressed store, hash-verified

2734 * or xmlKeepBlanksDefault(0) was called
2735 */
2736void
2737xmlDocDumpFormatMemory(xmlDocPtr cur, xmlChar**mem, int *size, int format) {
2738 xmlDocDumpFormatMemoryEnc(cur, mem, size, NULL, format);
2739}
2740
2741/**
2742 * xmlDocDumpMemoryEnc:

Callers 1

parseAndPrintFileFunction · 0.85

Calls 1

Tested by

no test coverage detected