Hi all, 

I'm just revisiting a thread i started about a month ago about
converting Word docs to XML server side. My idea was to upload a word
doc, convert it to XML, and read that XML into CF to process it.

Save as XML only comes in word 2003 and i'm not going to install it on
my server. I don't even have a licence for it at work- we're still on
office 2000 i think! But i did discover that I can (any user can) open
an MS word doc in Open Office, and then save in Open Office's native
format. This is actually a few XML files zipped. This is great because
i can install open office on my PC and my mac.

So for testing, i've just been renaming the open office doc
"something.zip" and unzipping using winzip. Then i read the
content.xml from the "something" folder. Of course in a production
environment, i could just upload the file to the server via a form and
then unzip and extract the content.xml

The beauty of all of this is that using some basic word templates, I
can use word as a data-entry device for a web app. Most users will
appreciate this given that they are used to typing (and spell checking
etc) into word.

I guess I could install open Office on the server and have the DOC to
SXW conversion automatically done on the server.... I don't think i'll
bother tho. Telling some users to use open office is not too
difficult. I just didn't want to make them upgrade to $$ word 2003 and
start telling them to File > Save as XML!

Anyway, just thought i'd follow up and let you guys know the direction
i was taking with this.

Thanks everyone for your original help with this.

Regards

Gavin



On Tue, 28 Sep 2004 11:34:51 +1000, M@ Bourke
<[EMAIL PROTECTED]> wrote:
> well if its a standard .doc file the only way you could do it would be to
> *some how*
> save the word .doc as a .xml then cffile read the .xml
> 
> I'm guessing this doesnt really help as this was already what your
> thinking.
> 
> maybe there is a javaobject out there that can convert .doc to xml
> maybe google away.
> 
> if ya do get it working , let us know how it was done
> 
> M@
> 
> 
> 
> ---
> 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/

Reply via email to