# File lib/xmlsimple.rb, line 694 def get_attributes(node) attributes = {} node.attributes.each { |n,v| attributes[n] = v } attributes end