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: Converting MS Word documents to DocBook 5 XML


Sorry, just saw there was a recent post about saving Word to HTML and then using dbdoclet to convert to DocBook XML. I’ll give that a try.

 

Regards,

Jeff Powanda

Vocera Communications, Inc.

 

From: Jeff Powanda [mailto:jpowanda@vocera.com]
Sent: Wednesday, May 23, 2012 10:39 PM
To: 'docbook-apps@lists.oasis-open.org'
Subject: [docbook-apps] Converting MS Word documents to DocBook 5 XML

 

What’s the easiest way to convert MS Word 2007 documents to DocBook 5 XML?

 

I’ve tried using the DocBook roundtrip stylesheets. They seemed to work OK if I did the following:

1.       Copied the DocBook styles in template.dot to the document.

2.       Applied the DocBook styles to the document.

3.       Saved the document as a Word 2003 XML file.

4.       Converted the Word 2003 XML file to DocBook 5 XML.

 

This worked OK, but it was a lot of work to apply the DocBook styles to the document (and there are several documents to convert). Also, the resulting DocBook XML file has dbk namespace prefixes on all the elements. How do I remove them?

 

I’m not interested in the roundtrip aspect of the roundtrip stylesheets. I just want to get Word content into DocBook 5.

 

Regards,

Jeff Powanda

Vocera Communications, Inc.

 



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