Also, in case you don't know in advance whether there will be one or more entries for "asset", you might want to look into the ForceArray option.
This might ease accessing elements, as you then wouldn't have to test first whether it's an array...
In reply to Re: Problem parsing XML into arrays using XML::Simple
by Anonyrnous Monk
in thread Problem parsing XML into arrays using XML::Simple
by tevolo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |