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?
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?