This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41052
    
  43
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
 
Similar Threads
Java Object in RDBMS
XML or Database?
XML and Reporting
jsp to xml
Inserting Text File in Database