XML::Simple is Evil [was Re: [Israel.pm] Hebrew to UTF-8, completely out of ideas!]
sweisman at pobox.com
Mon Oct 25 00:59:57 PDT 2004
david istermann wrote:
>>How do you represent something like that:
> Mixed content (elements which contain both text content and nested
> elements) will not be represented in a useful way - element order and
> significant whitespace will be lost. If you need to work with mixed
> content , then XML::Simple is not the right tool for your job.
> =====END QUOTE=====
You can use Tie::IxHash to preserve order. It obviously has some
overhead, but when needed worked great. I use it extensively.
More information about the Perl