org.w3c.dom.Node.compareDocumentPosition
method
public compareDocumentPosition(other as Node) as Int throws DOMException
Description

Compares document order with another node.

Parameters
  • other Node to compare.
Returns

DOM document-position flags.

Throws
  • DOMException if comparison fails.
Example
flags = node.compareDocumentPosition(other)