How can I use XSLT 2.0 and XSLT 3.0 in Java?

后端 未结 1 575
梦毁少年i
梦毁少年i 2020-12-10 19:37

I am able to use XSLT 1.0 in Java as shown in the folllowing example :-

copy.xml




        
1条回答
  •  悲哀的现实
    2020-12-10 20:18

    Get Saxon 9 HE from Maven or Sourceforge and put it on the classpath, then you have XSLT 2.0 support with Saxon 9.x before 9.8 or XSLT 3.0 support (except streaming, higher order functions, xsl:evaluate, schema-awareness, backwards compatibility) with 9.8. For full XSLT 3.0 support you need to download Saxon 9 PE or EE from Saxonica and put it together with a license you buy or a trial licence you request on the classpath.

    0 讨论(0)
提交回复
热议问题