http://qs321.pair.com?node_id=529793


in reply to Re^2: XML Parse, Spanish Elements
in thread XML Parse, Spanish Elements

Hi jbrugger, Does that also mean that it will return an array of arrays of arrays....?
The downside of something like that is that you would have to use $xml->[3]->[3]->[1]->[2] structures to reference nodes from your XML file. So you have to use you knowledge about the structure of the XML file to be able to reference nodes. That feels unconfortable to me at least.
The nice thing about XML::XPath is that you can use full xpath expressions like /document//element_somwhere[@att="val"]/../next-sibbling or anything like that.

before this starts sounding like a sales-pitch for XML::XPath, I think users should just use what feels most confortable.
--
Cheers,
Rob