nodecomparedocumentposition33 IBM Create a new Element node, add a new atttribute node to it. Compare the position of the Element and the Document. This should return disconnected, implementation specific, and that the order of these two nodes is preserved. Also compare the position of the Element node with respect to the Attr node and this should be PRECEDING and contains, and the Attr node follows and is contained by the Element node Jenny Hsu 2003-02-21