in reply to maintaing the order of XML
XML::Simple returns the parsed data as a hash and hashes are by definition unordered. If order's important you'll need to step up to a bit more heavyweight solution such as XML::Twig which should preserve the parsed tree in its original order (although accessing an traversal will become a bit more involved, but you should be able to abstract that behind subs fairly easy).
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: maintaing the order of XML
by thickice97 (Initiate) on Jan 24, 2008 at 17:22 UTC | |
by Anonymous Monk on Jan 24, 2008 at 19:53 UTC |