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

后端 未结 1 2150
北荒
北荒 2020-11-21 22:52

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条回答
  • 2020-11-21 23:33

    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.

    0 讨论(0)
提交回复
热议问题