# File rexml/element.rb, line 822 def delete_all( xpath ) rv = [] each_attribute_pair(xpath) { |name,attribute| rv << attribute } rv.each{ |attr| attr.remove } return rv end