Using word2dita

Post here questions and problems related to editing and publishing DITA content.
mdslup
Posts: 167
Joined: Tue Mar 06, 2018 1:34 am

Using word2dita

Post by mdslup »

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: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Using word2dita

Post by Radu »

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