public static String getAttrVal ( final NamedNodeMap nnm , final String name ) { Node nmAttr = nnm . getNamedItem ( name ) ; if ( ( nmAttr == null ) || ( absent ( nmAttr . getNodeValue ( ) ) ) ) { return null ; } return nmAttr . getNodeValue ( ) ; }
Return the attribute value of the named attribute from the given map .