|
SYNOPSIS
string xmlTreeGetExternalID(xmlNode node)
Parameters:
-
node - the XML_DTD_NODE or XML_ENTITY_DECL
you want to get the External ID from
Returns:
- the External ID from the DTD subset / entity
node
DESCRIPTION
xmlTreeGetExternalID() 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 ALSO
xmlTreeGetSystemID
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|