You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by gonenc <go...@hotmail.com> on 2011/08/09 09:15:43 UTC
Re: DocuemntFragement and XPath
Hi,
You may have to use capitals in the xpath expression, so instead of;
XPathExpression expr = xpath.compile("//h1");
you can try;
XPathExpression expr = xpath.compile("//H1");
--
View this message in context: http://lucene.472066.n3.nabble.com/DocuemntFragement-and-XPath-tp619048p3238135.html
Sent from the Nutch - User mailing list archive at Nabble.com.
Re: DocuemntFragement and XPath
Posted by Markus Jelsma <ma...@openindex.io>.
Thats an old thread. Is is even possible to to a xpath expr on a docfragment?
I've never seen it work.
On Tuesday 09 August 2011 09:15:43 gonenc wrote:
> Hi,
>
> You may have to use capitals in the xpath expression, so instead of;
>
> XPathExpression expr = xpath.compile("//h1");
>
> you can try;
> XPathExpression expr = xpath.compile("//H1");
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/DocuemntFragement-and-XPath-tp619048p32
> 38135.html Sent from the Nutch - User mailing list archive at Nabble.com.
--
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350