#div3
DOCUMENT_POSITION_CONTAINED_BY
- The node is contained by the reference node.
A node which is contained is always following, too.
DOCUMENT_POSITION_CONTAINS
- The node contains the reference node.
A node which contains is always preceding, too.
DOCUMENT_POSITION_DISCONNECTED
- The two nodes are disconnected. Order between disconnected
nodes is always implementation-specific.
DOCUMENT_POSITION_FOLLOWING
- The node follows the reference node.
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
- The determination of preceding versus following is
implementation-specific.
DOCUMENT_POSITION_PRECEDING
- The second node precedes the reference node.
Références