RE: [xsl] converting word document to XML

Subject: RE: [xsl] converting word document to XML
From: cknell@xxxxxxxxxx
Date: Thu, 04 May 2006 20:48:43 -0400
The short answer is, "Yes."

Then it goes on from there. A great deal depends on how many documents, how often you'll wish to convert them, are there any embedded files like images or OLE files, and similar questions.

I just opened an MS-Word document with OpenOffice and saved it as XML. OpenOffice is a suite similar to Microsoft Office available for Windows, Linux, etc. You can get it from Sun Microsystems at no charge. It can save files to it's own XML format. From there you would have to write an XSLT document to convert it from the native OpenOffice XML to your preferred format, using a suitable XSLT engine (e.g., Saxon, Xalan).

Is this a one-off thing, a one-time bulk transformation of a large number of documents, or will you want to do this ad hoc?
Charles Knell
cknell@xxxxxxxxxx - email

-----Original Message-----
From:     Tech Savvy <tecsavvy@xxxxxxxxx>
Sent:     Thu, 4 May 2006 17:13:32 -0500
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  [xsl] converting word document to XML


Is there any way to convert a Microsoft word document to XML? The XML
should conform to a given schema. That means that the XML tags should
match whatever is on a particular schema.


Current Thread