Re: XPath with ExtractingRequestHandler

2013-01-19 Thread Arcadius Ahouansou
Hi Mike. I am going through this too. How did you solve this? Thanks. Arcadius. On 15 December 2011 12:49, Michael Kelleher wrote: > Yeah, I tried: > > > //xhtml:div[@class='**bibliographicData']/**descendant:node() > > also tried > > //xhtml:div[@class='**bibliographicData'] > > Neither wo

Re: XPath with ExtractingRequestHandler

2011-12-15 Thread Michael Kelleher
Yeah, I tried: //xhtml:div[@class='bibliographicData']/descendant:node() also tried //xhtml:div[@class='bibliographicData'] Neither worked. The DIV I need also had an ID value, and I tried both variations on ID as well. Still nothing. XPath handling for Tika seems to be pretty basic and

Re: XPath with ExtractingRequestHandler

2011-12-15 Thread Péter Király
Hi, maybe I am wrong, but the // should be at the beggining of the expression, like //xhtml:div[@class='bibliographicData']/descendant:node(), or if you want to search the div inside body, you have to use descendant like /xhtml:html/xhtml:body/descendant::xhtml:div[@class='bibliographicData']/desc