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

Function xmlDumpEntityDecl

ThirdParty/libxml2/vtklibxml2/entities.c:934–945  ·  view source on GitHub ↗

* xmlDumpEntityDecl: * @buf: An XML buffer. * @ent: An entity table * * This will dump the content of the entity table as an XML DTD definition */

Source from the content-addressed store, hash-verified

932 * This will dump the content of the entity table as an XML DTD definition
933 */
934void
935xmlDumpEntityDecl(xmlBufferPtr buf, xmlEntityPtr ent) {
936 xmlSaveCtxtPtr save;
937
938 if ((buf == NULL) || (ent == NULL))
939 return;
940
941 save = xmlSaveToBuffer(buf, NULL, 0);
942 xmlSaveTree(save, (xmlNodePtr) ent);
943 if (xmlSaveFinish(save) != XML_ERR_OK)
944 xmlFree(xmlBufferDetach(buf));
945}
946
947/**
948 * xmlDumpEntityDeclScan:

Callers

nothing calls this directly

Calls 4

xmlSaveToBufferFunction · 0.85
xmlSaveTreeFunction · 0.85
xmlSaveFinishFunction · 0.85
xmlBufferDetachFunction · 0.85

Tested by

no test coverage detected