|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
The error does not occur with the sample so the actual xml is apparently different than what you provided. To get rid of the sorting error, just don't sort the output. 14 foreach my $code ( keys %by_code ) {If you need the output exactly as it was, you will need to use a solution other than XML::Simple. As I said: It does not keep the exact XML formatting but that is something that is lost when XML::Simple parses it.
l8rZ, -- andrew In reply to Re^3: perl script to print xml data like this
by afresh1
|
|