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

Function xmlDumpElementTable

ThirdParty/libxml2/vtklibxml2/valid.c:1461–1472  ·  view source on GitHub ↗

* xmlDumpElementTable: * @buf: the XML buffer output * @table: An element table * * DEPRECATED: Don't use. * * This will dump the content of the element table as an XML DTD definition */

Source from the content-addressed store, hash-verified

1459 * This will dump the content of the element table as an XML DTD definition
1460 */
1461void
1462xmlDumpElementTable(xmlBufferPtr buf, xmlElementTablePtr table) {
1463 xmlSaveCtxtPtr save;
1464
1465 if ((buf == NULL) || (table == NULL))
1466 return;
1467
1468 save = xmlSaveToBuffer(buf, NULL, 0);
1469 xmlHashScan(table, xmlDumpElementDeclScan, save);
1470 if (xmlSaveFinish(save) != XML_ERR_OK)
1471 xmlFree(xmlBufferDetach(buf));
1472}
1473#endif /* LIBXML_OUTPUT_ENABLED */
1474
1475/**

Callers

nothing calls this directly

Calls 4

xmlSaveToBufferFunction · 0.85
xmlHashScanFunction · 0.85
xmlSaveFinishFunction · 0.85
xmlBufferDetachFunction · 0.85

Tested by

no test coverage detected