module ActiveSupport::XmlMini_REXML
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 REXML::ParseException, "The document is too deep" if depth == 0 merge!(hash, element.name, collapse(element, depth)) end