in reply to A puzzle for parsing XML with XML::Simple!
So, since you have an element named 'name', XML::Simple does that grouping trick.Note 1: The default value for 'KeyAttr' is ['name', 'key', 'id']. If y +ou do not want folding on input or unfolding on output you must setti +ng this option to an empty list to disable the feature.
my $xml = XML::Simple->new(KeyAttr=>[]);
|
|---|