Thunderstone Software Document Search, Retrieval, and Management
Search:
Vortex Manual
 

xmlTreeGetExternalSubset

 

SYNOPSIS

    xmlNode xmlTreeGetExternalSubset(xmlDoc doc)

Parameters:

  • doc - the doc you want to get the external DTD from

Returns:

  • the xmlNode for the external DTD subset of doc


DESCRIPTION
xmlTreeGetExternalSubset() gets the external DTD subset from the XML document doc. This is the part of the DTD that is defined via a SYSTEM reference, as opposed to the internal subset, which is defined within the XML file itself.

Note that the XML file must be parsed with the option XML_PARSE_DTDLOAD, otherwise the external DTD will not be loaded.


EXAMPLE

    <$dtd = (xmlTreeGetExternalSubset($doc))>


CAVEATS
Parsing the external DTD may involve performing a network fetch. This can be disabled by adding XML_PARSE_NONET to the parsing options.


SEE ALSO
xmlTreeGetInternalSubset


Copyright © Thunderstone Software     Last updated: Mon Feb 18 10:28:15 EST 2013
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2013 Thunderstone Software LLC. All rights reserved.