version 11
DOM Find XML element by ID (elementRef; id) String
Parameter | Type | Description | |
elementRef | String | XML element reference | |
id | String | Value of ID attribute of element to look for | |
Function result | String | Reference of the element found (if applicable) |
Description
The DOM Find XML element by ID command can be used to search for an XML element based on the value of its ID attribute. The search begins at the element designated by the elementRef parameter.
The ID attribute can be used to associate a unique identifier to each element. The value of the ID attribute must be a valid XML name and must be unique. Pass the value of the attribute to be searched for in id.
The command returns the XML reference of the element found as a result.
See Also