in reply to Re^2: XML::Simple and ISO-8859-1 encoding buggy?
in thread XML::Simple and ISO-8859-1 encoding buggy?
> Basically the equivalent of simplicity to parsing a JSON file.
The problem is the DOM tree of XML doesn't correspond 1:1 to common data structures (scalars, arrays, hashes).
What data structure do you expect?<r ch="1"> <ch>2</ch> <ch>3</ch> <!-- <ch>4</ch> --> </r>
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: XML::Simple and ISO-8859-1 encoding buggy?
by cavac (Parson) on May 27, 2021 at 11:41 UTC |
In Section
Seekers of Perl Wisdom