xmlTreeGetExternalID

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: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.