# File lib/nokogiri/xml/node_set.rb, line 126 def remove_attr name each do |el| next unless el.respond_to? :remove_attribute el.remove_attribute(name) end self end