nodecomparedocumentposition29 IBM Create two entity reference nodes. Using compareDocumentPosition to check if the child of the first Entity Ref node precedes the child of the second Entity Ref node, and that the child of the second Entity Ref node follows the child of the first Entity Ref node. Jenny Hsu 2003-02-20