version 11.3
DOM Get Root XML element (elementRef) String
| Parameter | Type | Description | |
| elementRef | String | XML element reference | |
| Function result | String | Reference of root element (16 characters) | |
| 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
System Variables or Sets
If the command has been executed correctly, the OK system variable is set to 1. If an error occurs, for example if the element reference is invalid, the OK variable is set to 0 and the command generates an error. In this case, the command returns an empty string.