![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Parsing XML with XML::Simpleby brian_d_foy (Abbot) |
on Dec 18, 2006 at 00:53 UTC ( #590365=note: print w/replies, xml ) | Need Help?? |
This seems to work for me. You mentioned wrapping a root element around it, but did you include the <?xml ...?> bit? Even when I remove that, though, it still works. Does it fail with your sample file?
It looks like the hash does what it should:
Update: If I move the data out to a file and use XMLin( $ARGV[0], NoAttr => 1 ) it still works.
In Section
Seekers of Perl Wisdom
|
|