xmlNode xmlTreeGetInternalSubset(xmlDoc doc)
doc- the doc you want to get the internal DTD from
xmlNodefor the internal DTD subset of
xmlTreeGetInternalSubset() gets the internal DTD subset from the
doc. This is the part of the DTD that is defined
within the XML file itself, as opposed to an external DTD referenced.
<$dtd = (xmlTreeGetInternalSubset($doc))>