Word to XML

E

Eivind

Hi,

I'm in the process of making an application that should convert a
Word-document into XML. The Word files will use style names such as
Heading1, Heading2 etc. Since the application has to work on both Macs
and PCs I cannot use Word 2003 XML-features. Now I'm a little uncertain
on how to "attack" this problem. As far I can see, I have two
solutions:

a) Tag the text manually in Word, using VBA.
b) Extract all text from Word, into a Java application that makes the
XML-file.

I'm currently leaning towards b), because of Javas XML-features and
flexibilty. (And because I think using just VBA will be a lot of work.)


Any thoughs or suggestion? Should I use XSL-FO?
 
S

Stefan Ram

Eivind said:
I'm in the process of making an application that should convert a
Word-document into XML. The Word files will use style names such as
Heading1, Heading2 etc. Since the application has to work on both Macs
and PCs I cannot use Word 2003 XML-features. Now I'm a little uncertain
on how to "attack" this problem. As far I can see, I have two
solutions:
a) Tag the text manually in Word, using VBA.

An example of a VBA program "Wrocco" to do this and some links
to relevant sources can be found on:

http://www.purl.org/stefan_ram/pub/wrocco_en
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,002
Messages
2,570,261
Members
46,859
Latest member
VallieMcKe

Latest Threads

Top