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