According to the "My element order is getting jumbled up" section of XML::Simple::FAQ, the short answer is no. (see excerpt below)
If your application really is sensitive to element order, don't use XML::Simple (and don't put order-sensitive values in attributes).
Since XML::Simple is the only XML parsing module that I personally have used so far, I really can't suggest an alternative.
In reply to Re: XML::Simple usage question
by dasgar
in thread XML::Simple usage question
by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |