|Welcome to the Monastery|
Retrieving an XML node value with XML::DOM::Lite and XML::Parserby young_monk_love_perl (Novice)
|on Dec 18, 2013 at 16:57 UTC||Need Help??|
young_monk_love_perl has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to parse an XML file retrieve the value of specific nodes. There's the XML structure :
Here's my code :
But I get an error : Can't call method "index" on unblessed reference.
I'm probably doing it the wrong way. Could you please advise me ? Additionally I would like to retrieve the attribute value.
Thank you for your help, and please be tolerant, I'm just here to seek for your wisdom, I'm still learning Perl ...