XMLNodeFromID()

Syntax

*Result = XMLNodeFromID(#XML, ID$)
Description
In valid XML, if a node has an attribute called "ID", the value of this attribute must be unique within the XML document. This function can be used to search for a node in the document based on its ID attribute.

Return value

Returns the node pointer of the node with the given ID tag or 0 if no such node exists within the tree.

Supported OS

All

<- XMLErrorPosition() - XML Index - XMLNodeFromPath() ->