aspose file tools*
The moose likes XML and Related Technologies and the fly likes XML document inside XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML document inside XML" Watch "XML document inside XML" New topic
Author

XML document inside XML

Syam Veerakumar
Ranch Hand

Joined: Sep 20, 2001
Posts: 49
Hi,
I have a word document and inside that I have an embedded word document as an object I want to parse the entire document to generate xml code

Is there a way how to do that, I appreciate your help

for example

some text.....
...........

..........
.........

<another document>


some text
........
........
........
.......



this entire document has to be parsed to convert into xml document
Thanks,
Syam

[ July 30, 2004: Message edited by: Syam Veerakumar ]
[ July 30, 2004: Message edited by: Syam Veerakumar ]

A Quitter Never Wins<br />A Winner Never Quits
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Do you know how to convert a "normal" Word document into XML?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
You might want to look into Open Office. The OO word processor can read .doc and .rtf Word documents and save them as XML. It is free and has active support groups.
Bill
Syam Veerakumar
Ranch Hand

Joined: Sep 20, 2001
Posts: 49
Hi

I would like to have the source code for converting embedded objects like word document inside a document file please let me know the source code and
the parser or how the parser is going to parse the data


please let me know
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The only library I know about is Jakarta POI/HWPF, which is still under development and, apparently, in need of volunteers
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML document inside XML