9

How can I verify which XSLT processor is being used in Solr? I want to change the XSLT version from 1.0 to 2.0.

I am using Solr 4.0.

Rod
  • 14,529
  • 31
  • 118
  • 230
Jatin Gadhiya
  • 1,955
  • 5
  • 23
  • 42

1 Answers1

15

Use:

<xsl:value-of select="system-property('xsl:vendor')"/>

to identify the processor and:

<xsl:value-of select="system-property('xsl:version')"/> 

to identify the version of XSLT it supports.

michael.hor257k
  • 113,275
  • 6
  • 33
  • 51
  • i have set xslt version 1.0 to 2.0 look like but when i have check xslt version using its return 1.0 so what should i do to convert into xslt 2.0 – Jatin Gadhiya Aug 12 '14 at 05:11
  • @JatinPatel You need to change your processor. I am afraid I know nothing about Apache Solr, so I cannot tell you how (or if it's possible at all). – michael.hor257k Aug 12 '14 at 05:21