You don't mention which table model you use; CALS/OASIS Exchange, or XHTML.

If you use XHTML tables, you can ignore most of the following, and just use 
tidy to get get clean XHTML from Word.

If you use CALS tables, you could use any of a number of tools that transform 
Word to DocBook.

Do expect to spend some time experimenting and tweaking; none of the tools that 
I know will work out-of-the-box for all Word documents. In my experience, Word 
documents that are styled using the built-in Word styles are easiest to convert.

A good place to start looking for DocBook tools:

 * http://wiki.docbook.org/topic/DocBookTools

I'd try using upCast first. There is a time-bombed but otherwise functional 
preview for a new release available at:

 * http://preview.upcast.de/index.html

Logictran R2NET is also nice:

 * http://www.logictran.com/products/r2net.html

Yet another commercial tool:

 * http://www.docsoft.com/w2xml.aspx

There is also a number of variations on 'Save as HTML, tidy to XHTML and 
convert'.

On the DocBook wiki:

 * http://wiki.docbook.org/topic/Html2DocBook

Another XSLT:

 * http://osteele.com/software/xslt/html2db/
 * http://osteele.com/sources/html2db.zip

DocBook Doclet 'herold':

 * http://www.dbdoclet.org/

Combining tidy and up-translation (a bit outdated, not maintained):

 * http://www.eecs.umich.edu/~ppadala/projects/tidy/


Kind regards,
Peter Ring

-----Original Message-----
From: xmleditor-support-bounces at xmlmind.com 
[mailto:[email protected]] On Behalf Of Manuel Collado
Sent: 13. juni 2008 11:18
To: Jean Jordaan
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] Importing/Copy and Paste tables from MS Wordinto XMLmind/XML 
Editor?

Jean Jordaan escribi?:
> 'lo there
> 
>>> I am looking for a process or procedure to import or copy and paste 
>>> tables from MS Word into the XMLmind/XMLEditor as quickly as possible?
> 
> Before I've tried to export Word as HTML, and then use regexps and 
> macros in Vim to munge that to DocBook tables.
> Pain.

Instead of using regexps and macros in Vim, a better approach could be to use 
HTMLTidy to clean-up the exported HTML code and *convert* it to XHTML. Then use 
a XSLT transform to convert HTML tables to DocBook tables.

Hope this helps.
--
Manuel Collado - http://lml.ls.fi.upm.es/~mcollado
 
--
XMLmind XML Editor Support List
xmleditor-support at xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to