Java Utililty Methods XML Node Compare

List of utility methods to do XML Node Compare

Description

The list of methods to do XML Node Compare are organized into topic(s).

Method

booleanisNodeInNS(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()));
booleanisNodeSame(org.w3c.dom.Node node1, org.w3c.dom.Node node2)
is Node Same
return node1 == node2;