DOM Find XML element by ID

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11


DOM Find XML element by ID (elementRef; id) String

ParameterTypeDescription
elementRefStringXML element reference
idStringValue of ID attribute of element to look for
Function resultStringReference 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

DOM Find XML element.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next