nodecomparedocumentposition02 IBM Using compareDocumentPosition to check if a Document node contains and precedes its new DocumentType and node and if the new DocumentType Node is contained and follows its Document node. Jenny Hsu 2003-02-19