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

Function xmlGetIntSubset

ThirdParty/libxml2/vtklibxml2/tree.c:902–915  ·  view source on GitHub ↗

* xmlGetIntSubset: * @doc: the document pointer * * Get the internal subset of a document. * * Returns a pointer to the DTD object or NULL if not found. */

Source from the content-addressed store, hash-verified

900 * Returns a pointer to the DTD object or NULL if not found.
901 */
902xmlDtdPtr
903xmlGetIntSubset(const xmlDoc *doc) {
904 xmlNodePtr cur;
905
906 if (doc == NULL)
907 return(NULL);
908 cur = doc->children;
909 while (cur != NULL) {
910 if (cur->type == XML_DTD_NODE)
911 return((xmlDtdPtr) cur);
912 cur = cur->next;
913 }
914 return((xmlDtdPtr) doc->intSubset);
915}
916
917/**
918 * xmlCreateIntSubset:

Callers 8

parseAndPrintFileFunction · 0.85
xmlSAX2InternalSubsetFunction · 0.85
areBlanksFunction · 0.85
htmlParseDocumentFunction · 0.85
htmlParseTryOrFinishFunction · 0.85
xmlCreateIntSubsetFunction · 0.85
xmlDocContentDumpOutputFunction · 0.85
xmlNodeDumpOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected