xsl-list
[Top] [All Lists]

Re: [xsl] converting word document to XML

2006-05-05 00:13:08
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.

--

Joe
----- Original Message ----- From: <cknell(_at_)onebox(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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?
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Tech Savvy <tecsavvy(_at_)gmail(_dot_)com>
Sent:     Thu, 4 May 2006 17:13:32 -0500
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:  [xsl] converting word document to XML

Hello:

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.

Thanks

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>