[]
Returns
A String, which is the value of the first matching attribute, or nil if there was none
Fetches an attribute value. If you want to get the Attribute itself, use get_attribute()
[]=
Returns
self NOTE that unlike most REXML methods, this does not return the set Attribute.
Sets an attribute, overwriting any existing attribute value by the same name
delete_all
Returns
an Array of the Attributes that were removed
DO NOT USE THIS METHOD! It WILL fail, and may be removed. If you absolutely need this method, write the author. Deletes all attributes matching an xpath