compareDocumentPosition
Description
Compares the reference node, i.e. the node on which this method is being called, with a node, i.e. the one passed as a parameter, with regard to their position in the document and according to the document order.
Arguments
- other
-
XopusNode. The node to compare against the reference node.
Return Value
Number. See http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-compareDocumentPosition