AttributeAsBoolean

Function AttributeAsBoolean(expression: String, index: String) : Real
Returns a Boolean extracted from the expression.

This function extracts a Boolean from an expression such as "<item attribute1="value" attribute2="value" />" where index is the attribute name, and the result is the value.

For an example, see ExpressionAttributes.