aspose file tools*
The moose likes JDBC 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
JavaRanch » Java Forums » Databases » JDBC
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
Marshal

Joined: Mar 22, 2005
Posts: 41509
    
  53
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.


Ping & DNS - my free Android networking tools app
vipul bondugula
Ranch Hand

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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml document to pdf and store in database