Attr Method
Returns the value of the specified attribute.
Syntax
public String attr(String attrName);
Remarks
If the attribute does not exist, an empty string is returned if ErrorOnEmptyAttr is set to false, otherwise an exception is thrown.
Please refer to the XAttributes collection for more information.