Skip to main content
Version: 21 R3

DOM Get root XML element

DOM Get root XML element ( elementRef : Text ) : Text

ParameterTypeDescription
elementRefText→XML element reference
Function resultText←Reference of root element or "" in case of error
History
ReleaseChanges
11 SQL Release 3Created

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 safeyes
Modifies variablesOK, error