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

Function htmlDocContentDumpFormatOutput

ThirdParty/libxml2/vtklibxml2/HTMLtree.c:973–985  ·  view source on GitHub ↗

* htmlDocContentDumpFormatOutput: * @buf: the HTML buffer output * @cur: the document * @encoding: the encoding string (unused) * @format: should formatting spaces been added * * Dump an HTML document. */

Source from the content-addressed store, hash-verified

971 * Dump an HTML document.
972 */
973void
974htmlDocContentDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr cur,
975 const char *encoding ATTRIBUTE_UNUSED,
976 int format) {
977 int type = 0;
978 if (cur) {
979 type = cur->type;
980 cur->type = XML_HTML_DOCUMENT_NODE;
981 }
982 htmlNodeDumpFormatOutput(buf, cur, (xmlNodePtr) cur, NULL, format);
983 if (cur)
984 cur->type = (xmlElementType) type;
985}
986
987/**
988 * htmlDocContentDumpOutput:

Callers 3

htmlDocDumpMemoryFormatFunction · 0.85
htmlSaveFileFormatFunction · 0.85
xmlDocContentDumpOutputFunction · 0.85

Calls 1

htmlNodeDumpFormatOutputFunction · 0.85

Tested by

no test coverage detected