|Don't ask to ask, just ask|
Re^3: XML Parse, Spanish Elementsby misterb101 (Sexton)
|on Feb 13, 2006 at 11:11 UTC||Need Help??|
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->->->-> 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.