How can I check which XSLT processor is being used

2020-01-22 12:05发布

问题:

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.

回答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.



标签: xslt solr