my $xpath = qq{ /*[ name() = "p:login" ] /*[ name() = "utenti" ] [ *[ name() = "email" and string(node()) = "$email" ] and *[ name() = "password" and string(node()) = "$password" ] ] };
no need to register any namespaces and things like that (some info on that Re: LibXML, XPath and Namespaces (name(), local-name()))
In reply to Re: Xpath not working
by Anonymous Monk
in thread Xpath not working
by njack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |