Since the order of the keys is not preserved in a hash and the order of elements seems to be important here XML::Simple won't do the job. This would be easy with xpath.
XML::Simple knows how to array
In reply to Re^3: Search and replace query
by Anonymous Monk
in thread Search and replace query
by heeru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |