Skip to main content
Version: Next

DOM Get XML element

DOM Get XML element ( elementRef ; elementName ; index ; elementValue ) : Text

ParameterTypeDescription
elementRefTextXML element reference
elementNameTextName of element to get
indexIntegerIndex number of element to get
elementValueVariableValue of the element
Function resultTextXML reference (16 characters)

Description

The DOM Get XML element command returns a reference to the “child” element dependent on the elementName and index parameters.

The value of the element is also returned in the elementValue parameter.

Note: By default, DOM Get XML element is case sensitive regarding the elementName parameter (xml compliance). You can control the case sensitivity of the command using the XML DOM case sensitivity selector of the XML SET OPTIONS command.

System variables and sets

If the command has been correctly executed, the system variable OK is set to 1. If an error occurs, it is set to 0.

See also

DOM GET XML ELEMENT VALUE
XML SET OPTIONS

Properties

Command number725
Thread safe
Modifies variablesOK, error