On the first sight it seems that you will have to change your structure to following -
'user' => { 'favorites' => { 'item' => [ { 'title' => 'Book1','genre' => '5','author' => 'Someone' }, { 'title' => 'Book2','genre' => '1','author' => 'Someone' } ] } }
In reply to Re: XML::Simple, XMLOut() question
by samarzone
in thread XML::Simple, XMLOut() question
by duesouth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |