Dec 7, 2012, 8:56 AM
Post #2 of 2
What you experience, is a consequence of XML::Simple. This is what "simple" means - simple to use, but sloppy. In particular, elements and attributes are often treated the same:
Please read the docs - they describe this behaviour, and explain how to bypass them (there are several examples in the docs which likely will apply exactly to your problem).
If you find configuring XML::Simple too tedious, you could use one of the other XML modules. They are less "simple", but don't cause this type of confusion.