'-' changed to '_' while converting xml to hash in rails
<p><strong>xml = <code>"&lt;outer-tag&gt;&lt;inner-tag&gt;value&lt;/inner-tag&gt;&lt;/outer-tag&gt;"</code></strong></p>

<p><strong>hash = Hash.from_xml(xml)</strong>  ==> this gives me the following output</p>

<p><strong>{"outer_tag"=>{"inner_tag"=>"value"}}</strong></p>

<p>I actually need <strong>hash = {"outer-tag"=>{"inner-tag"=>"value"}}</strong></p>

<p>Is there any way to convert XML to Hash without changing "-" to "_" ?</p>