XMLNodeFromID()

语法

Result = XMLNodeFromID(#XML, ID$)
概要
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.

参数

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

返回值

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

已支持操作系统

所有

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