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