[plexippus-xpath-devel] Beginner: trying out xpath

rm at tuxteam.de rm at tuxteam.de
Sat Nov 27 14:14:19 UTC 2010


On Fri, Nov 26, 2010 at 10:27:52PM -0500, Andrei Stebakov wrote:
> Now that I updated to the latest git clone (I am using quicklisp), the
> crash doesn't happen anymore, but all requests to "body" or "//body"
> return an empty node-set.


Which is correct  ;-)
Your XPath expression is wrong, you're looking for a 'body' element in
the null-namespace but you html most likely is in the 'http://www.w3.org/1999/xhtml'
namespace.

 HTH  Ralf Mattes





More information about the plexippus-xpath-devel mailing list