XMLNode.Compare
From Xojo Documentation
Method
Compares two nodes, which must both have the same parent. Returns an Integer that works like StrComp.
Notes
The two nodes are compared using their string contents.
- If XMLNode < NodeToCompare it returns -1
- If XMLNode = NodeToCompare it returns 0
- If XMLNode > NodeToCompare it returns 1
If you need to compare nodes with different parents, use the StrComp function on the XMLNode.ToString value.