Attr Method
Returns the value of the specified attribute.
Object Oriented Interface
public function doAttr($attrname);
Procedural Interface
ipworks_xmlp_do_attr($res, $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 properties for more information.