Skip to main content
Version: 20 R7 BETA

DOM Get Root XML element

DOM Get Root XML element ( elementRef ) -> Function result

ParameterTypeDescription
elementRefTextXML element reference
Function resultStringReference 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