Subject: [xsl] Saxon processor for XSLT 3.0 From: "VISHNU SINGH svishnu.singh4@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 23 Sep 2021 05:11:34 -0000 |
Hi, I want to use the Saxon processor for XSLT 3.0. For this I have downloaded the *SaxonHE10-6J *package. I am simply trying to print a message using below xslt 3.0 <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version= "3.0"> <xsl:variable name="version" select="3.0"/> <xsl:template match="/"> <xsl:message>this is test xslt version {$version}</xsl:message> </xsl:template> </xsl:stylesheet> And running it from the command line java -jar saxon-he-10.6.jar -s:test.xml -xsl:test.xsl -o:output.xml and as an output it is just printing the "this is test xslt version {$version}" It is not evaluating the variable 'version'. Could someone please suggest what i am doing wrong? OR there is different saxon jar that I should use for xslt 3.0 Please suggest. Kind regards, Vishnu -- Vishnu Singh | http://marklogicgd.blogspot.com/ <http://marklogicgd.blogspot.in/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Namespaces in output, Michael Kay mike@xxx | Thread | Re: [xsl] Saxon processor for XSLT , Liam R. E. Quin liam |
Re: [xsl] Value of variable not app, Eliot Kimber eliot.k | Date | Re: [xsl] Saxon processor for XSLT , Liam R. E. Quin liam |
Month |