nodecomparedocumentposition25 IBM Using compareDocumentPosition check if the EntityReference or Text node is contained and follows its parent Element node, and that the Element node contains and precedes the EntityReference or Text node. Jenny Hsu 2003-02-20