There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm not such a big fan of XML::Simple since the parsing into different types is very unconfortable. For example if a node contains one subnode, the subnode is a hash element in the node itself,
You can use use the argument ForeArray to overcome that problem: my $xs = new XML::Simple(ForceArray => 1); Now all elements are read as an array.
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.
In reply to Re^2: XML Parse, Spanish Elements
by jbrugger
|
|