nodecomparedocumentposition21 IBM Using compareDocumentPosition check the document position of the text node of the fist and second elements whose localName is name. The first text node should return FOLLOWING and the second text node should return PRECEDING when compareDocumentPosition is invoked with the other node as a parameter. Jenny Hsu 2003-02-20