This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Convert docx to xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Convert docx to xml file" Watch "Convert docx to xml file" New topic
Author

Convert docx to xml file

S Roberts
Ranch Hand

Joined: Dec 06, 2013
Posts: 64
Hello,
I need to use docx and xml files for translation prozess, not all of the translation tools can read xml, but docx, xml because it can be better assigned to each other, i want to convert plain text from docx to xml and backwards(from xml to docx), with what can i begin , do you know how can i do it programmatically using java?
Thank you
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
Welcome to JavaRanch.

The Apache POI library can read .docx files, and it has special classes for extracting the text of a document. Although those may not be accurate enough, in which case you need to fall back on using the regular API.


Ping & DNS - my free Android networking tools app
S Roberts
Ranch Hand

Joined: Dec 06, 2013
Posts: 64
Hi Ulf,

thank you very much
 
Don't get me started about those stupid light bulbs.
 
subject: Convert docx to xml file
 
Similar Threads
Convert .doc file to .txt file
Java API for RTF to DOCX Conversion
java.io.FileNotFoundException
Java API for word files
Any way to merge excel files in SVN