Skip to main content
Version: 20 R7 BETA

DOM Get Root XML element

DOM Get Root XML element ( elementRef ) : Text

ParameterTypeDescription
elementRefTextXML element reference
Function resultTextReference of root element or "" in case of error

Description

The DOM Get Root XML element command returns a reference to the root element of the document to which the XML element that is passed in the elementRef parameter belongs. This reference can be used with the other XML parsing commands.

See also

DOM Get parent XML element

Properties

Command number1053
Thread safe
Modifies variablesOK, error