How to use XSLT 2.0 in Eclipse? -
in release notes of wtp 3.1.0 talk wtp supporting xslt 2.0.
have eclipse luna 4.4.1 wtp installed, but
<xsl:value-of select="system-property('xsl:version')" />
still returns 1.0
.
so how can use xslt 2.0 in eclipse? when go preference, have xalan 2.7.1 option selected.
i've had same issue myself , able solve - @ivoronline commented - manually adding saxon he9 standard xslt processor. see: https://stackoverflow.com/a/7737731/1955204
after have downloaded saxon can set eclipse standard processor at:
- run
- runtime configurations
- select xsl configuration on left
- open "processor" tab
- "change preferences"
- "add" new processor
- enter name , select type saxon 2.0
- use "add workspace jars" or "add external jars" , route downloaded jar file
- check newly added, hit ok , run
Comments
Post a Comment