Using word2dita

mdslup
Posts: 126
Joined: Tue Mar 06, 2018 1:34 am

Using word2dita

Post by mdslup » Tue Sep 25, 2018 4:17 am

I'm trying to use this page to convert a docx to dita:

http://dita4publishers.sourceforge.net/ ... xygen.html

I don't understand step 6:

Select the Parameters button to open the Parameters dialog and set the following parameters:

outputDir
The URI of the output directory to hold the generated files.
styleMapUri
The URI of the style-to-tag map document to use for the transform.


What am I supposed to set the styleMapUti parameter to?

Radu
Posts: 6592
Joined: Fri Jul 09, 2004 5:18 pm

Re: Using word2dita

Post by Radu » Tue Sep 25, 2018 8:11 am

Hi,

I do not know much about the plugin but from what I looked in the build files, there is a default style map XML located in DITA-OT2.x/plugins/org.dita4publishers.word2dita/xsl/word-builtin-styles-style2tagmap.xml so for example on my side I would need to set the parameter styleMapUri to an URL-like value like:

file:/D:/path/to/oxygen/installation/frameworks/dita/DITA-OT2.x/plugins/org.dita4publishers.word2dita/xsl/word-builtin-styles-style2tagmap.xml



Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply