How do you create a PDF from XML in Java?

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]:
Now there is iText® XMLWorker, default implementation is HTML/CSS to pdf

以上就是How do you create a PDF from XML in Java?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准