Is there any tool that can parse/conver xml files to this format?
I have a big bunch of data that needs to be converted.
Perl XML::Simple and Data::Dumper can do this. Is there any other tool?
From –
<create>
<New>
<Name>John</Name>
</New>
</create>
To –
body = {
"create" => {
"New" => { "Name" => "John" }
}
}
How about using an XSL transform:-
Perl XML::XSLT Module