in reply to Re^4: Some issues with WWW::Mechanize::Firefox->xpath() method (xpath 1.0)
in thread Some issues with WWW::Mechanize::Firefox->xpath() method
You are using findnodes, but there is no node corresponding to the substring. Use find instead:
Well that certainly works :) but the explanation doesn't make sense to me -- what is a text literal if not a text node?
This whole time I've been thinking the two functions were interchangeable, if findnodes can't deal with this, it should reject the xpath, not do nothing, but yeah, I'm confused
|
|---|