... method. The result of this method is a new Node, which is compatible with the target document. In other words, this code is going to cause problems: Element otherDocElement = otherDoc.getDocumentElement( ... XML, 2nd Edition 138 The first method, isSameNode( ), allows for object comparison. This doesn't determine whether the two nodes have the same structure or data, but whether they are the ... for this. The first denotes that the input Node is up the hierarchy from the reference Node (the one the method is invoked upon); the second indicates that the input Node is down the hierarchy...