Perhaps you mean the order of elements is not being maintained? Tutorials => XML Technologies which inclues Stepping up from XML::Simple to XML::LibXML (by the author of XML::Simple) among other posts which should be of interest to you.
In reply to Re: Best module for Creating [Writing out] XML
by marto
in thread Best module for Creating [Writing out] XML
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |