# File lib/xml/dom2/element.rb, line 221 def getAttribute(name) attr = getAttributeNode(name) if attr.nil? '' else attr.nodeValue end end