List of utility methods to do XML Node Compare
boolean | isNodeInNS(Node nodeToCompare, String nsuri, String tagName) __UNDOCUMENTED__ String ntcnsuri = nodeToCompare.getNamespaceURI(); if ((ntcnsuri != null) && (ntcnsuri.length() > 0)) { return (tagName.equals(nodeToCompare.getLocalName()) && ntcnsuri.equals(nsuri)); } else { return (tagName.equals(nodeToCompare.getNodeName())); |
boolean | isNodeSame(org.w3c.dom.Node node1, org.w3c.dom.Node node2) is Node Same return node1 == node2;
|