I don't know whether it's against the rules of XML (I seriously doubt it!) but I've met way too many cases when the other party insisted that the tags are in a specific order so I would be very wary of changing the order. I'd suggest XML::Twig or XML::Rules for this and processing the whole records. If there are hundreds of thousands of them i do think it's safe to assume the individual records are rather small.
In reply to Re^2: Modifying Records with XML::SAX::ByRecord
by Jenda
in thread Modifying Records with XML::SAX::ByRecord
by Lorphos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |