Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Convert Word document to XML

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,
I have a requirement to convert a word document to XML document that can be rendered to Web using XSL. I am looking for a code or a method to convert Word document to XML programmatically. Can any body help me in this regard. Any help will be appreciated.

Regards
Abhijit.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
It's hard to work with Word documents in Java. Helpful libraries might be POI, WordApi (Windows only) and OpenOffice (all linked here). I think the most promising of these is probably OO, but it has a definite learning curve.
 
Abhijit Sontakey
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,

I was able to convert a .rtf file to XML format. However i am unable to convert a .doc file to .rtf format. Can anybody help in this regard. Any help willl be appreciated.

Regards
Abhijit.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
It seems that you posted the same question here as well. Let's continue the discussion there, because you have an answer already.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic