Element.isSameNode( node as Node ) as Boolean
This is inherited from the XMLNode object.
Whether this node is the same exact node as another node.Parameters | |
---|---|
node | The node to compare this node to. |
// Cannot be true, ever: nodes are in only one document cts.doc("example.xml").firstChild.isSameNode( cts.doc("example2.xml").firstChild) ==> false