in reply to Problem parsing XML into arrays using XML::Simple

I just skimmed over your post and didn't look at your code and data very closely. (I apologize if I misread the problem in my haste.)

However, it sounds to me like you'd be interested in checking out the ForceArray option for the XML::Simple module. You can force everything into arrays or only certain elements that you specify.

  • Comment on Re: Problem parsing XML into arrays using XML::Simple