This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes xml document to pdf and store in database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "xml document to pdf and store in database" Watch "xml document to pdf and store in database" New topic
Author

xml document to pdf and store in database

vipul bondugula
Ranch Hand

Joined: Oct 14, 2010
Posts: 219
Hi,


I am having a requiremet. I am having an xml document with data. I need to convert that xml document to pdf document and store it in the database. It is an urgent requirement.

Please anyone guide me in doing...I am not getting where to start.


Thanks & Regards,
Vipul Kumar.


Thanks
Vipul Kumar
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
Apache FOP can create PDFs from XML documents, provided you supply XSL-FO stylesheets that describe the transformation.

Another possibility is to parse the XML and create PDFs with a library such as iText along the parsing process.

I advise against storing files in the DB, by the way.
vipul bondugula
Ranch Hand

Joined: Oct 14, 2010
Posts: 219
Thanks for your reply,

 
Consider Paul's rocket mass heater.
 
subject: xml document to pdf and store in database
 
jQuery in Action, 3rd edition