Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
243 views
in Technique[技术] by (71.8m points)

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.

Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...