NativeXml Help
TXmlNode.NodeIndexOf
function NodeIndexOf(ANode: TXmlNode): integer; virtual;
Description
Call NodeIndexOf to get the index for ANode in the Nodes list. The first node in the list has index 0, the second item has index 1, and so on. If a node is not in the list, NodeIndexOf returns -1.