public static String getAttrVal ( final Element el , final String name ) throws SAXException { Attr at = el . getAttributeNode ( name ) ; if ( at == null ) { return null ; } return at . getValue ( ) ; }
Return the value of the named attribute of the given element .