>> A word of warning from my experience with Word. Using the Word Object Model is slow and problematic.
doesn't that mean that you have to install MSWord on the server to gain access to the winword object? IIRC, ASP (classic) coders were doing that to generate word docs (not with XML) and everyone hated it - a security hole, slow, shared hosting woes, etc... just 2c barry.b -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin Cooney Sent: Tuesday, 28 September 2004 11:40 AM To: CFAussie Mailing List Subject: [cfaussie] RE: Creating XML from MS word I know a bloke who is doing it with C# .NET. I asked him the same question as I asked CFAUSSIE.... and i mentioned to him that I'm using Linux servers. This was his reply... (i just got it 5 mins ago) Gavin, There are a few possibilities for you, it depends on what version of Word you are using. We use Word2000. If you use Word2003 it has native XML capability. You could run on Linux, but you would need to save your word documents as RTF, and open that way. Some systems use Omnimark to extract a preliminary xml format from RTF and then run multiple xsl transforms to get it ionto a format that is useful. Another option is to use a language to automate OpenOffice to open a word document and save as XML. I did this once using some java code. It is very quick. If you look at the open Office site there is some information, altho I think I found the original automation code on a forum there. I will try to hunt it down at soe point for you. I will talk to (his boss) to see if there are any licensing issues in supplying you the word 2 xml part of our system. Altho it is a whole framework, there is also a command line exe that turns a word file into xml. Here is an article at MSDN that discusses using VB6 to export to xml. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnword2 k/html/odc_expwordtoxml.asp A word of warning from my experience with Word. Using the Word Object Model is slow and problematic. I suspect that internally Word doesnt use it, but exposes it for programmers, so doesn't notice a lot of the bugs. If you can parse the RTF into xml first you are probably going to have a faster system. Good luck, and I hope I can provide more info as time goes on --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
