| [reply] |
The whole Output XML goes into a mess.
I just want the output to look how my input is. Isn't there any other choice?
| [reply] |
Don't use XML::Simple.
There's ,no easy solution, I think, because there's probably no XML module around that guarantees that the produced attributes are in the same order as they are parsed.
But XML::Simple guarantees almost absolutely nothing, not even that the output will have a similar structure as the input. It may even move data from content to attribute or vice versa. the only guarantee you get on the output of XML::Simple is that XML::Simple will be able to read it back in.
| [reply] |
Why not read the post that I linked to? Two other methods were mentioned: 1) XML::Twig 2) search and replace using a regular expression.
| [reply] |
| [reply] |