OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Tool for Word->DocBook conversion (UpCast?)

Although there are tools available to export XML from Word, not many of them
(can) target specific XML schemas.
Almost all of them either are complicated when doing the element mapping, or
have other major disadvantages. I.e., upCast you mentioned doesn't even
support Unicode - they go with straight ASCII *ROFL*.

It took me two days (after dabbling endlessly with evaluating the
possibilities - sigh...) to write my own conversion tool:

+ Exporting HTML from Word (record a macro to see how it works) (BTW, Word
XP is the only Word version that exports formatting templates, too, if
you're going to need them)
+ Cleaning up the markup by using TidyCOM
+ Loading the XML into a standard Microsoft XmlDocument, and doing some
additional clean-up, and customizations
+ Doing a simple XSL transformation on the result

The result is near to perfect - as far as what you can expect from Word
"structured" information (Symbol font "itemezed list items", and much
The solution has been so simple, but it took a load off my mind.

Long live DocBook :-)

----- Original Message -----
From: "Steve Parker" <steve@naweb.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, April 09, 2003 8:47 PM
Subject: [docbook-apps] Tool for Word->DocBook conversion (UpCast?)

> All,
> I've done a bit of research into this area of converting existing Word
> into DocBook.
> The main tools I found are DocSoft's W2XMLv2 and UpCast.
> I like UpCast (from looking on their website), but it says that it targets
> XML (as opposed to going straight to DocBook). There is mention on DocBook
> Wiki that an XSL can then be applied to create the DocBook result.. does
> anyone have anymore insight on this?
> Does anyone have a recommendation of the best tool for doing Word->DocBook
> conversion?
> Thanks,
> Steve
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]