nodecomparedocumentposition07 IBM Using compareDocumentPosition check if the document compared contains and precedes the new newElement, and the newElement is contained and follows the document. Jenny Hsu 2003-02-19