in reply to Re: xpath problem using XML::LibXML
in thread xpath problem using XML::LibXML
Thank you Ken for the pointers to the docs. Your assessment of my trying variations is close; I'm a slow learner, new to xml (and not strong on perl), and was getting desperate. That documentation will be my friend for the remaining tasks!
Fwiw the change of quoting you suggested doesn't actually fix my mistake. My error was misunderstanding of the result that xpath '//matrix/vm@type="br"' matches, so as pointed out in the comment above I was wrongly adding an extra 'vm' child level in findvalue("./vm/release/\@version").
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: xpath problem using XML::LibXML
by kcott (Archbishop) on Apr 12, 2014 at 23:04 UTC | |
by anadem (Scribe) on Apr 14, 2014 at 16:06 UTC |