On Tue, Feb 3, 2009 at 11:59 AM, Fergus McMenemie <fer...@twig.me.uk> wrote:

> The solr data field is populated properly. So I guess that bit works.
> I really wish I could use xpath="//para"
>
>
The limitation comes from streaming the XML instead of creating a DOM.
XPathRecordReader is a custom streaming XPath parser implementation and
streaming is easy only because we limit the syntax. You can use
PlainTextEntityProcessor which gives the XML as a string to a  custom
Transformer. This Transformer can create a DOM, run your XPath query and
populate the fields. It's more expensive but it is an option.
-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to