nodecomparedocumentposition09 IBM Using compareDocumentPosition check if the Element node is contained and follows the appended Document node, and if the Document node contains and precedes the Element node. Jenny Hsu 2003-02-19