问题
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