protected boolean equalsNamespace ( Node control , Node test ) { String controlNS = control . getNamespaceURI ( ) ; String testNS = test . getNamespaceURI ( ) ; if ( controlNS == null ) { return testNS == null ; } return controlNS . equals ( testNS ) ; }
Determine whether two nodes are defined by the same namespace URI