public static Integer getAttributeValueAsInteger(Element el, QName attrName)
    {
        String attrVal = getAttributeValue(el, attrName);
        return (attrVal != null ? new Integer(attrVal) : null);
    }
public static Integer getAttributeValueAsInteger ( Element el , QName attrName ) { String attrVal = getAttributeValue ( el , attrName ) ; return ( attrVal != null ? new Integer ( attrVal ) : null ) ; }
@param el
@param attrName
@return the integer value from the given attribute