Spring - web pages using XSLT

允我心安 提交于 2019-12-24 02:25:34

问题


I'm new in XSLT and I would know what is the best solution to integrate XSLT into Spring web application. I found quick example here, but all in all I had troubles with proper character encoding and switching to Saxon processor (I refer to my former questions here and here). In book: 'Spring in Action' is described solution by extending AbstractXsltView. Is better way than AbstractXsltView which would let me choose Saxon processor? Is better way than execute transformation from .jsp files?


回答1:


There's an old IBM DeveloperWorks JSTL primer on doing transformations through JSP using the <x:transform> tag of JSTL. This would be a much simpler approach, but may not allow Saxon.



来源:https://stackoverflow.com/questions/5133375/spring-web-pages-using-xslt

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