xmlTreeGetSystemID

SYNOPSIS

string xmlTreeGetSystemID(xmlNode node)

Parameters:

  • node - the XML_DTD_NODE or XML_ENTITY_DECL you want to get the System ID from

Returns:

  • the System ID from the dtd subset node


DESCRIPTION
xmlTreeGetSystemID() gets SYSTEM identifier of an external DTD or entity. This is either a local file, or a web address.


EXAMPLE
In the following XML document:

<?xml version="1.0" standalone="no" ?>
<!DOCTYPE" top PUBLIC "-//Thunderstone//Simple Test//EN"
  "testExternal.dtd">
<top>
    ...

Calling

<$ext = (xmlTreeGetSystemID($dtd))>

would return testExternal.dtd


SEE ALSO
xmlTreeGetSystemID


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.