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 HossMan:
http://wiki.apache.org/solr/XsltResponseWriter

The comment on the change is:
be more explicit about path (when possible)

------------------------------------------------------------------------------
  
  = Parameters =
  == tr parameter ==
- Selects the XSLT transformation to use, which must be found in Solr's 
conf/xslt directory.
+ Selects the XSLT transformation to use, which must be found in Solr's 
[http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/xslt/ 
conf/xslt] directory.
  
  The Content-Type of the response is set according to the <xsl:output> 
statement in the XSLT transform, for example:
  
@@ -60, +60 @@

  
  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 (which is under the lib/ folder), and start Jetty like:
+ For Jetty (in the Solr example),  make sure all the saxon-*.jars are in 
Jetty's ext/ folder, and start Jetty like:
+ 
+ ( /!\ :TODO: /!\ There is no ext/ folder in the current version of Jetty ... 
what is the correct place now? 
[http://svn.apache.org/viewvc/lucene/solr/trunk/example/lib/ example/lib/] 
perhaps?)
  
  {{{
  java 
-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl 
-jar start.jar

Reply via email to