SYNOPSISstring xmlTreeGetExternalID(xmlNode node)
Parameters:
node
- the XML_DTD_NODE
or XML_ENTITY_DECL
you want to get the External ID from
Returns:
node
DESCRIPTIONxmlTreeGetExternalID()
gets the PUBLIC External identifier of a
DTD or entity.
EXAMPLE
In the following XML document:
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE" top PUBLIC "-//Thunderstone//Simple Test//EN"
"testExternal.dtd">
<top>
...
Calling
<$ext = (xmlTreeGetExternalID($dtd))>
would return -//Thunderstone//Simple Test//EN
SEE ALSOxmlTreeGetSystemID