At the moment, I'm creating an XML file in Java and displaying it in a JSP page by transforming it with XSL/XSLT. Now I need to take that XML file and display the same information in a PDF. Is there a way I can do this by using some kind of XSL file?
I've seen the [iText][1] Java-PDF library, but I can't find any way to use it with XML and a stylesheet.
Any assistance would be much appreciated. Thanks in advance!
[1]: http://www.lowagie.com/iText/ Now there is iText® XMLWorker, default implementation is HTML/CSS to pdf
以上就是How do you create a PDF from XML in Java?的详细内容,更多请关注web前端其它相关文章!