|Syntactic Confectionery Delight|
Re: XML Parse, Spanish Elementsby misterb101 (Sexton)
|on Feb 10, 2006 at 20:55 UTC||Need Help??|
Personnally 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, with nore children it becomes an array..this is just an example, but is just to show that the parsetree is very difficult to navigate.
Myself I rather use XML::XPath. Here you can use xpath queries to navigate to the nodes you want and the result is very straightforward.
for you this would become something like :
Hope this helps you, it saved my life more than once :)