nodecomparedocumentposition13 IBM Using compareDocumentPosition check if the Document node contains and precedes the new Comment node, and if the Comment node is contained and follows the Document node. Jenny Hsu 2003-02-20