module ActiveSupport::XmlMini_JDOM
def merge_element!(hash, element, depth)
element::
Hash to merge the converted element into.
hash::
Convert an XML element and merge into the hash
def merge_element!(hash, element, depth) raise "Document too deep!" if depth == 0 delete_empty(hash) merge!(hash, element.tag_name, collapse(element, depth)) end