XMLNode.Compare
From Xojo Documentation
Method
Compares two nodes, which must both have the same parent. Returns an Integer that works like String.Compare.
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 String.Compare function on the XMLNode.ToString value.