Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 31st, 2006, 09:55 AM
Eivind
Guest
 
Posts: n/a
Default Word to XML

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?

  #2  
Old July 31st, 2006, 12:25 PM
Eivind
Guest
 
Posts: n/a
Default Re: Word to XML

Quote:
Stefan Ram wrote:
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
Hi, and thanks for the reply! After a little bit of thinking I guess
this is the way to go. I could make a simple XML-file from Word, and
then some post processing if necessary.

 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles