Do you know where your variables are? | |
PerlMonks |
Re^3: XML Parse, Spanish Elementsby misterb101 (Sexton) |
on Feb 13, 2006 at 11:11 UTC ( [id://529793]=note: print w/replies, xml ) | 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->[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
In Section
Seekers of Perl Wisdom
|
|