I know there is a XML text -> PDF file convertion. I don't remember where I found it, but it should be widely available and free. It is used to dynamically convert web page/text file into pdf for file downloading purpose. 

解决方案 »

  1.   

    Hi javamap,Maybe the lib you mentioned is iTest (http://www.lowagie.com/iText). It's a very good lib for generating PDF, but it can not generate PDF from a templet, and XML is not easy to edit visually. iText can convert XML or HTML to PDF, but it is support all HTML tags, so it dosn't work on normal complex HTML documents.Thank you very much anywayBenquan Yu