jQuery in Action, 2nd edition*
The moose likes XML and Related Technologies and the fly likes writing a PDF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "writing a PDF" Watch "writing a PDF" New topic
Author

writing a PDF

Kirti Kulkarni
Greenhorn

Joined: May 10, 2006
Posts: 4
We have a requirement to read an xml file, merge data in it at proper places and then feed it to a PDF generator.

I have looked at some products which facilitate PDF template generation.
But we are interested in XML input as user can also change the spacing and font etc

Does anyone know any such product?

Thanks in advance!

Regards,
Kirti
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12678
    
    5
This comes up frequently on various forums here - take a look at the XML forum particularly. To summarize, people recommend the open source Apache FOP (Formating Objects Project) and the iText toolkit.

I used FOP to handle XML to PDF conversions for a client. It worked quite well but I had to avoid certain XSL-FO tags that FOP does not implement. See this compliance document for the current state. The FOP has a VERY active mailing list and a helpful community.

I found the "Definitive XSL-FO" book by Holman to be a great reference, but the binding is way too stiff to behave right on the desk so I had it rebound by Kinkos in a lay-flat binding.

Bill


Java Resources at www.wbrogden.com
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

Moved to the XML forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: writing a PDF
 
Similar Threads
XML to PDF Servlet
professional XML pdf??
execute binary or unix-script from EJB
convert word documents to PDF
PDF to XML conversion