Search the web
Sign In
New User? Sign Up
radio-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
MSword to XML   Message List  
Reply | Forward Message #7469 of 8443 |
Re: [radio-dev] MSword to XML

> Has anyone developed, or is anyone developing, or is anyone interested
> in developing, an MSword.doc or MSword.rtf convertor to XML in a
> Frontier or Radio Script?
>
> Does anyone have any suggestions for doing this automatically, like a
> scriptable application that can do the conversion under the control of
> an script?

What constraints do you have to live with? If you're on Windows and
have a copy of Office available, you can probably use its COM
interface to generate XML. I'm guessing you'd need to get Word to
load the file and give you some sort of document object, and then get
it to save it back out as XML.

If it has to work without Word, but you know you're on Windows, you
might be able to get at the 'structured storage' (OLE document) API to
load the document. That's probably a COM thing too.

If it has to work without Word, and work everywhere, check out libole2
- you might be able to build a DLL that can read the Word files. Call
into that to read them, and dump out the XML inside your script.

I think there's another Office file reading library too, but I don't
know what it's called. Java has POI, which will do it, but the C
libraries should be way easier to integrate into Frontier.

Cheers,
Phil




Tue Feb 18, 2003 2:58 am

phillip_pear...
Offline Offline
Send Email Send Email

Forward
Message #7469 of 8443 |
Expand Messages Author Sort by Date

*This message was transferred with a trial version of CommuniGate(tm) Pro* . Hello, Has anyone developed, or is anyone developing, or is anyone interested in...
Jack F. Mancilla
jaksonofjack
Offline Send Email
Feb 17, 2003
3:16 am

*This message was transferred with a trial version of CommuniGate(tm) Pro* ... Jack, If you use a Mac check out DocDrop, <http://marinersoftware.com/ ...
Andy Fragen
ajfragen
Offline Send Email
Feb 17, 2003
6:44 pm

*This message was transferred with a trial version of CommuniGate(tm) Pro* ... Sorry, second part here, <http://www.versiontracker.com/ ...
Andy Fragen
ajfragen
Offline Send Email
Feb 17, 2003
6:46 pm

... What constraints do you have to live with? If you're on Windows and have a copy of Office available, you can probably use its COM interface to generate...
Phillip Pearson
phillip_pear...
Offline Send Email
Feb 18, 2003
2:55 am

*This message was transferred with a trial version of CommuniGate(tm) Pro* . Hello, I would actually prefer a completely Frontier solution. That would make the...
Jack F. Mancilla
jaksonofjack
Offline Send Email
Feb 18, 2003
9:26 pm

... Yeah, but you have to remember that parsing Word files is _hard_ and that it will take a lot of development effort to code something up from scratch that...
Phillip Pearson
phillip_pear...
Offline Send Email
Feb 18, 2003
11:57 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help