aspose file tools
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 Elasticsearch in Action this week in the Big Data 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: 218
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: 42954
    
  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: 218
Thanks for your reply,

 
rocket mass heater kickstarter
 
subject: xml document to pdf and store in database