Another way to render custom XML into a PDF document (although Bruno might not like hearing this) is to write an XSLT stylesheet instead of Java code, that converts the XML to XSL-FO and then use an existing XSL-FO renderer such as Apache's FOP to convert the intermediary output into PDF. If you have a somewhat larger scale environment and need to process lots of requests, maybe Scriptura DocumentFlow might suit your needs.
Regards, Bert Vingerhoets - Research & Development Inventive Designers NV Phone: +32 3 821 01 70 Fax: +32 3 821 01 71 Email: Bert_Vingerhoets at inventivegroup dot com http://www.inventivegroup.com/ -----Original Message----- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Thursday 16 July 2009 06:49 To: Post all your questions about iText here Subject: Re: [iText-questions] (no subject) peter_f...@blm.gov wrote: > This question has probably been asked a hundred times, although I don't see > anything in the FAQ. > > Is there a package that lets you create PDF from an XML representation of a > document? Not really, but have a look at the keywords: http://1t3xt.info/tutorials/keywords/index.php#X There are plenty of examples showing how to convert an XML file to PDF: http://1t3xt.be/?X0001e4 http://1t3xt.be/?X0004ec > I'm not about to reinvent something > that already does what I need. Custom XML demands for a custom handler. There are higher level libraries that provide an XML schema. The first one that comes to mind is jBoss/SEAM. Or if you use HTML instead of XML: Flying Saucer. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ 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 Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Inventive Designers' Email Disclaimer: http://www.inventivedesigners.com/email-disclaimer -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ 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 Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/