[XSL-LIST Mailing List Archive Home]
Re: [xsl] converting word document to XML
Subject: Re: [xsl] converting word document to XML|
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Fri, 5 May 2006 08:12:35 +0100
What version of Word?
If you have the professional version of 2003 then you can attach a schema
and save or simply save the raw data, without the formatting markup, and
transform it accordlingly.
----- Original Message -----
Sent: Friday, May 05, 2006 1:48 AM
Subject: RE: [xsl] converting word document to XML
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?
cknell@xxxxxxxxxx - email
From: Tech Savvy <tecsavvy@xxxxxxxxx>
Sent: Thu, 4 May 2006 17:13:32 -0500
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.