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/>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--