getTagContents(Element elem,
String value,
String elementName,
String attributeName)
Returns the contents of a specific node of given element name, provided a certain attribute exists and is set to value.

static boolean

readBooleanAttribute(Element elem,
String elementName,
String attributeName,
boolean defaultValue)
Retrieves the boolean value of a given attribute for the first encountered instance of elementName