module MultiXml::Parsers::Rexml
def get_attributes(element)
element::
Returns an empty Hash if node has no attributes.
Converts the attributes array of an XML element into a hash.
def get_attributes(element) attributes = {} element.attributes.each { |n, v| attributes[n] = v } attributes end