1

I've written an XSL to transform my XML response from Solr 7.6. The XSL is version 2. It works fine if I apply it to the pure XML response using Oxygen, but when I reference it in the query string using wt=xslt&rt=my.xsl, it errors out. The example.xsl shipped with Solr works, so my configuration is correct.

dacracot
  • 21,372
  • 26
  • 104
  • 151

1 Answers1

1

Checking the version of XSLT dynamically is easy via system-property('xsl:version').

system-property('xsl:vendor') will return the XSLT processor being used.

kjhughes
  • 98,039
  • 18
  • 159
  • 218