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 Other JSE/JEE APIs and the fly likes ms word to xml 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 » Java » Other JSE/JEE APIs
Bookmark "ms word to xml" Watch "ms word to xml" New topic
Author

ms word to xml

kiran cy
Greenhorn

Joined: Aug 24, 2012
Posts: 24
I have ms-word document with tables in it. Now, i want to convert the document to xml.
Any suggestions
kiran cy
Greenhorn

Joined: Aug 24, 2012
Posts: 24
actually i have the table in either word document/pdf.
i want to convert each cell in the table to individual image
Any suggestions
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
So the text in the cell should become an image? How would that be represented in the XML? Can you post a simple example of an original document, and the XML it would get converted to?


Ping & DNS - my free Android networking tools app
kiran cy
Greenhorn

Joined: Aug 24, 2012
Posts: 24
Forget about the xml part, i want to convert the data either may be the text or an image or anything present in the cell to an image
For example

----------------------------------------------------------------------------------|
question | answer |
----------------------------------------------------------------------------------|
if the table is like the above one then question cell should become one image and the answer cell should become another
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
Why images? What's wrong with text?
kiran cy
Greenhorn

Joined: Aug 24, 2012
Posts: 24
If there is image in the table it wont convert to text, so whatever present in the cell i have to convert it into the image
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
Not following - I understand that images remain images, why can't text stay text?
kiran cy
Greenhorn

Joined: Aug 24, 2012
Posts: 24
Suppose if particular question(cell) has image and text then what should i do get the entire question(cell) unless we convert the data present in the cell to an image.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
If a cell has both text and images in the structured document format, why should that not be possible in the XML?
kiran cy
Greenhorn

Joined: Aug 24, 2012
Posts: 24
I don't know if we can convert it into xml, my ultimate goal is to get images of each cell separately
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ms word to xml
 
Similar Threads
Design document
MS Word to XML conversion
Word 2003 to XML via XSLT
MS-word document file to XML in Java
empty lines in a document.