Yep, what the other Anon said. Here's the relevant code on how to actually do it:
my $xpc = XML::LibXML::XPathContext->new($doc); $xpc->registerNs('p', 'http://www.crtp.it'); $xpc->registerNs('p2', 'http://www.crpt.com'); my $finded = $xpc->findnodes("/p2:login/p:utenti[p:email='$email' and +p:password='$digestpass']");
In reply to Re: Xpath not working
by Anonymous Monk
in thread Xpath not working
by njack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |