Cool The Breezer wrote: > Hi, > Currently I am using xsl-fo with xp processor to convert xml to pdf. > However, the performance does not seem to meet our requirement.
I see that you're talking about really large documents; the problem is that FOP waits a long time before actually starting to convert to PDF. It's one of the downsides of the MVC pattern. > We look ahead to generate such books in minutes. > I am not sure whether iText would help us to reach at such performance. It depends. I'm producing a 30,000 page document in minutes when I create the invoices that have to be sent to our 30,000 students. I have an XML file with different clauses. I use XSLT to create a simple HTML file that is specific for each student. I use iText to convert this simple HTML page to PDF. In other words: I have 30,000 XSLT conversions resulting in 30,000 HTML pages (kept in memory), resulting in 30,000 PDF files written to one document on disk. > I would like to know whether its worth of effort to try iText for creating > PDF. It's possible if you know what you are doing. It's difficult if you don't know iText because iText doesn't bring you XML to PDF conversion out-of-the-box, nor does it have a full-blown HTML to PDF convertor. > Any example or case study would help a lot. The project I used as an example is closed source (too much $$$ involved to disclose it). Note that you don't necessarily have to use XSLT or HTML, you can also write your own XML Handler as is explained in the book "iText in Action". See for instance: http://1t3xt.info/examples/browse/?page=example&id=230 -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php