wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes How to convert xml to pdf form in java 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 » Engineering » XML and Related Technologies
Bookmark "How to convert xml to pdf form in java" Watch "How to convert xml to pdf form in java" New topic
Author

How to convert xml to pdf form in java

vipin jain
Ranch Hand

Joined: Aug 24, 2008
Posts: 122


Best Regards,<br />Vipin<br />MCA, SCJP5, SCWCD in progress
vipin jain
Ranch Hand

Joined: Aug 24, 2008
Posts: 122
vipin jain wrote:


Hi any one please tell me how to convert xml in pdf and visa versa ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41060
    
  43
The "xml-to-pdf" part can be achieved using the Apache FOP library if you're proficient in XSL-FO. If the XML is closer to XHTML, the Flying Saucer library may help (it's on dev.java.net).

The "vice versa" part will be hard, if not impossible. You may be able to extract the text that's in the pdf using a librariy like PDFBox or JPedal, but that text will be unstructured. So it'd be up to your application to create XML from that.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert xml to pdf form in java
 
Similar Threads
WA #1.....word association
How to deploy/undeploy EJBs application through HOT Deployment on websphere 6.1?
can i deploy any ear/jar/war without admin console on websphere 6.1?
Game on SQL
Happy New Year! Welcome to our new forums!