Is it possible to recursively convert an XML string into a Perl data
structure with Mojo::DOM?

Something like:

<a>
<x><m>M1</m><n>N1</n></x>
<x><m>M2</m><n>N2</n></x>
<y><m>M3</m><n>N3</n></y>
</a>

Into:

{a => {x => [{m => 'M1', n => 'N1'}, {m => 'M2', n => 'N2'}], y => [{m =>
'M3', n => 'N3'}]}

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to