(x:<=>node1
node2
)
Compare the document order of two nodes. Return values:
-1
if node1
comes before node2
0
if node1
and node2
are the same
1
if node1
comes after node2
#f
in case of error (for example, the nodes are from different documents)