Don't ask to ask, just ask | |
PerlMonks |
Re: How to write an xpath query including attributes for an XML with namespaceby Corion (Patriarch) |
on Sep 06, 2013 at 12:53 UTC ( [id://1052706]=note: print w/replies, xml ) | Need Help?? |
You have no commento nodes in your XML. Maybe that's already the whole problem? Also, when trying XPath queries, I find it often more beneficial to use unanchored queries while trying things out. You may want to search for //comment instead of commento.
In Section
Seekers of Perl Wisdom
|
|