How do I change the XSLT provider for Spring MVC (i.e. Plug in Saxon 9.x)?

泄露秘密 提交于 2019-12-11 04:21:56

问题


I've done a google but can't see anyone talking about a solution.

Is there a proper way of plugging in Saxon so that Spring MVC uses it for its XSLT views instead of whatever comes with the JDK, which is still 1.0 ?

(Haven't tried myself, in a rush, so just wondered if anyone out there has already done this and if so how).

Thanks.


回答1:


Its as Michael says. Basically just put the Saxon jar(s) on the classpath. I imagined it could be, but didn't like to assume, and simply couldn't find a mention of anyone saying so. So now it has been mentioned hopefully others will find this useful.



来源:https://stackoverflow.com/questions/16242708/how-do-i-change-the-xslt-provider-for-spring-mvc-i-e-plug-in-saxon-9-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!