protected String getNodeName ( Node node ) { String result = node . getLocalName ( ) ; return result == null ? node . getNodeName ( ) : result ; }
Returns the node name . First tries local name . If this is null returns instead the full node name .