aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39529
    
  27
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 - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert xml to pdf form in java
 
Similar Threads
Game on SQL
How to deploy/undeploy EJBs application through HOT Deployment on websphere 6.1?
Happy New Year! Welcome to our new forums!
can i deploy any ear/jar/war without admin console on websphere 6.1?
WA #1.....word association