nodecomparedocumentposition15 IBM Using compareDocumentPosition check if the Element node precedes and contains its Attr child, and that the Attr child is contained and follows the Element node. Neil Delima 2002-06-10