Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

writing a PDF

 
Kirti Kulkarni
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64858
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the XML forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic