http://qs1969.pair.com?node_id=142194

asiufy has asked for the wisdom of the Perl Monks concerning the following question:

Monks, I've been very happy with XML::Simple, but now I must learn how to tackle XML where the tag order is relevant:
<test id="1"> <name>Example 1</name> </test> <test id="2"> <name>Example 2</name> </test> <test id="yo"> <name>Example 3</name> </test>
As all of you know, XML::Simple won't return the structure in the exact same way as the original XML structure.

What should I use them? I've looked at a bunch of other XML parsers, and I didn't like any of them.

I'd rather use something tree (non-event) based, as this is how XML::Simple operates, and since I need quick access to the data in the XML tags, I don't want to mess with handlers and stuff like that, unless absolutely necessary, of course.

Any pointers, preferably with meaningful tutorials?

Thanks.