You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2008/08/07 15:27:09 UTC
[Solr Wiki] Update of "XsltResponseWriter" by Ewyk
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by Ewyk:
http://wiki.apache.org/solr/XsltResponseWriter
------------------------------------------------------------------------------
The XsltResponseWriter can easily be changed to use other transformers. The [http://saxon.sourceforge.net/ Saxon-B] open source XSL transformer supports XSL 2.0 features, such as URI encoding, time and date functions, and field grouping. To change the default transformer to use Saxon, simply copy the Saxon .jar files into your classpath and set the system property javax.xml.TransformerFactory to "net.sf.saxon.TransfomerFactoryImpl". No changes to the Solr source are needed.
- For Jetty (in the Solr example), make sure all the saxon-*.jars are in the ext/ folder, and start Jetty like:
+ For Jetty (in the Solr example), make sure all the saxon-*.jars are in the ext/ folder (which is under the lib/ folder), and start Jetty like:
{{{
java -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl -jar start.jar