Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: How to create XML tree from non-XML sourceby H4 (Acolyte) |
on Sep 08, 2008 at 17:17 UTC ( [id://709815]=note: print w/replies, xml ) | Need Help?? |
Thanks for your input. Unfortunately, XML::Simple does not preserve the ordering of subnodes because it uses hashes rather than lists. In your example, there is no way of telling whether <name> or <author> should appear first in the resulting XML. Sorry I forgot to mention that, in my case, order does matter.
In Section
Seekers of Perl Wisdom
|
|