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.

Parameters

#XML The XML to use.
ID$ The ID value to look for.

Return value

The node with the given ID tag or zero if no such node exists within the tree.

Supported OS

All

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