# File rexml/element.rb, line 1010 def [](name) attr = get_attribute(name) return attr.value unless attr.nil? return nil end