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
  • 22,002
  • 26
  • 104
  • 152

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
  • 106,133
  • 27
  • 181
  • 240