Skip to main content
Version: 21 R3

DOM Get XML information

DOM Get XML information ( elementRef : Text ; xmlInfo : Integer ) : Text

ParameterTypeDescription
elementRefText→XML root element reference
xmlInfoInteger→Type of information to get
Function resultText←Value of the XML information
History
ReleaseChanges
2004Modified
<6Created

Description​

The DOM Get XML information command retrieves diverse information about the XML element designated by elementRef.

In xmlInfo, pass a code indicating the type of information to be retrieved. You can use the following predefined constants, located in the XML theme:

ConstantTypeValueComment
DOCTYPE NameInteger3Name of the root element as defined in the DOCTYPE marker
Document URIInteger6URI of the DTD
EncodingInteger4Encoding used (UTF-8, ISO...)
PUBLIC IDInteger1Public identifier (FPI) of the DTD to which the document conforms (if the DOCTYPE xxx PUBLIC tag is present).
SYSTEM IDInteger2System identifier
VersionInteger5Accepted XML version

See also​

XML GET ERROR

Properties​

Command number721
Thread safeyes