get_attributes(element) private

Converts the attributes array of an XML element into a hash. Returns an empty Hash if node has no attributes.

element

XML element to extract attributes from.

Show source
Register or log in to add new notes.