Jatin Gadhiya
Jatin Gadhiya

Reputation: 2075

How can I check which XSLT processor is being used in Solr?

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.

Upvotes: 9

Views: 5208

Answers (1)

michael.hor257k
michael.hor257k

Reputation: 116959

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.

Upvotes: 15

Related Questions