Hi, I have to load data for Solr from a UrlDataSource supplying me with a XML feed.
In the simple case where I just do simple XSLT select this works just fine. Just as shown on the wiki (http://wiki.apache.org/solr/DataImportHandler) But I need to do some manipulation of the XML feed first, So I am trying to a transform first using: Something like this: .... <dataSource type="URLDataSource"/> <document> <entity name="products" pk="id" url="file:///D:/LucidWorks/lucidworks/solr/core-se/feedtest.xml" processor="XPathEntityProcessor" forEach="/products/product" xsl="file:///D:/LucidWorks/lucidworks/solr/core-se/test.xslt" transformer="script:updateRow"> <field column="id" xpath="/products/product/@id" /> <field column="c-n" xpath="/products/product/categories/category/name"/> <field column="c-id" xpath="/products/product/categories/category/@id"/> --- But no matter what I do in my "test.xslt" - I get the same error: ... org.apache.solr.handler.dataimport.DataImportHandlerException: Error initializing XSL Processing Document # 1 ... Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet Anyone that can help me out here? Or has a running example using XSLT with DIH? med venlig hilsen/best regards Roland Villemoes Tel: (+45) 22 69 59 62 E-Mail: mailto:r...@alpha-solutions.dk Alpha Solutions A/S Borgergade 2, 3.sal, 1300 København K Tel: (+45) 70 20 65 38 Web: http://www.alpha-solutions.dk<http://www.alpha-solutions.dk/> ** This message including any attachments may contain confidential and/or privileged information intended only for the person or entity to which it is addressed. If you are not the intended recipient you should delete this message. Any printing, copying, distribution or other use of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by telephone, or e-mail and delete all copies of this message and any attachments from your system. Thank you.