in reply to How do I traverse the data struct returned from parsing an XML::Parse 'Tree'?

XML::Parser is very seldom the right tool to use directly. If you do want to end up with a transformed data structure, then maybe XML::Rules is a good candidate. It'll let you specify the transformation rules and will extract just the data you need and transform them as it goes through the file. So it can easily handle even very big files unlike the modules that first build a maze of objects out of the whole file and then query the maze using xpath or something.

Jenda
Enoch was right!
Enjoy the last years of Rome.

  • Comment on Re: How do I traverse the data struct returned from parsing an XML::Parse 'Tree'?