nodecomparedocumentposition14
IBM
Using compareDocumentPosition check if the DocumentFragment node contains and precedes an Element
node appended to it, and that the Element node is contained and follows the DocumentFragment node.
Jenny Hsu
2003-02-20