How can I check which XSLT processor is being used in Solr?How can I check which XSLT processor is being used in Solr? - Solution Checker - solutionschecker.com - Find the solution for any programming question. We as a solution checker will focus on finding the fastest possible solution for developers. Main topics like coding, learning.

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.

Solution 1

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.