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

Function xmlDumpNotationTable

ThirdParty/libxml2/vtklibxml2/valid.c:2239–2250  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2237 * This will dump the content of the notation table as an XML DTD definition
2238 */
2239void
2240xmlDumpNotationTable(xmlBufferPtr buf, xmlNotationTablePtr table) {
2241 xmlSaveCtxtPtr save;
2242
2243 if ((buf == NULL) || (table == NULL))
2244 return;
2245
2246 save = xmlSaveToBuffer(buf, NULL, 0);
2247 xmlSaveNotationTable(save, table);
2248 if (xmlSaveFinish(save) != XML_ERR_OK)
2249 xmlFree(xmlBufferDetach(buf));
2250}
2251#endif /* LIBXML_OUTPUT_ENABLED */
2252
2253/************************************************************************

Callers

nothing calls this directly

Calls 4

xmlSaveToBufferFunction · 0.85
xmlSaveNotationTableFunction · 0.85
xmlSaveFinishFunction · 0.85
xmlBufferDetachFunction · 0.85

Tested by

no test coverage detected