in reply to Re^4: how to get XML::LibXML perfect xpath query ?
in thread how to get XML::LibXML perfect xpath query ?

See doc for findnodes, you need to bind a prefix to the namespace (xmlns), so
my $xpc = XML::LibXML::XPathContext->new; $xpc->registerNs( 'x', 'http://www.inktomi.com/' ); $xpc->findnodes( '/x:ysearchresponse/x:resultset_web/x:result/x:url', +$doc ) $xpc->findnodes( '*/*/x:result/x:url', $doc )