* @param attrName
* @return attribute value
* @throws EvaluatorException
*/
public static Boolean getAttributeBoolean(Tag tag,String attrName, Boolean defaultValue) {
Literal lit=getAttributeLiteral(tag, attrName,null);
if(lit==null) return defaultValue;
return lit.getBoolean(defaultValue);
}