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

Function xmlDumpNotationDecl

ThirdParty/libxml2/vtklibxml2/valid.c:2217–2228  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2215 * This will dump the content the notation declaration as an XML DTD definition
2216 */
2217void
2218xmlDumpNotationDecl(xmlBufferPtr buf, xmlNotationPtr nota) {
2219 xmlSaveCtxtPtr save;
2220
2221 if ((buf == NULL) || (nota == NULL))
2222 return;
2223
2224 save = xmlSaveToBuffer(buf, NULL, 0);
2225 xmlSaveNotationDecl(save, nota);
2226 if (xmlSaveFinish(save) != XML_ERR_OK)
2227 xmlFree(xmlBufferDetach(buf));
2228}
2229
2230/**
2231 * xmlDumpNotationTable:

Callers

nothing calls this directly

Calls 4

xmlSaveToBufferFunction · 0.85
xmlSaveNotationDeclFunction · 0.85
xmlSaveFinishFunction · 0.85
xmlBufferDetachFunction · 0.85

Tested by

no test coverage detected