On Wed, 2024-01-10 at 17:09 +0000, Martin Dowling wrote:
Hi I’m trying to run a query in BaseX (version 8.6.7) which calls an XSLT 2.0 stylesheet using xslt:transform(). I’m getting errors that clearly imply the system does not recognise XSLT 2.0 functions, and is expecting an XSLT 1.0 stylesheet.
Did you get sorted out? You need to put a copy of your XSLT processor, e.g. Saxon, in the lib/custom directory, e.g. saxonpe.jar and of course make sure the stylesheet has version="2" on the xsl:stylesheet element.
liam