Scott Prentice

Great .. thanks, Eliot!

For some reason I thought it would still generate output, but not terribly useful without the mapping. Clearly need to read the documentation more carefully.  :-o

At least what I'm getting is to be expected. :-)


On 9/3/21 3:48 PM, ekimber@... wrote:

You have to have at least a minimal style-to-tag map to get any output. To get topicrefs you need to configure each style that will generate a new topic and a topicref to it.


It sounds like you have some basic getting started problems.


When I’m doing Word2DITA stuff in Oxygen I usually run the XSLT directly against a document.xml file—there’s not much point in using Oxygen to run the transform through Ant if you just want to develop your style-to-tag map.









Eliot Kimber




From: <> on behalf of Scott Prentice <sp14@...>
Reply-To: <>
Date: Friday, September 3, 2021 at 5:35 PM
To: <>
Subject: [dita-users] DOCX DITA...



I've been attempting to use the DOCX DITA Ant transform (from dita4publishers.word2dita) in Oxygen (22.0). I feel like I'm missing something fundamental, but am getting the same result with a few different files. Hoping someone can point me in the right direction.

When I do the "default" conversion (open DOCX file, open document.xml, run DOCX DITA transform) I get just a ditamap with a title .. no topicrefs in the map and no topics in the output folder. I've enabled debugging (by setting w2d.debug.xslt to true), and I can follow the processing. If I look at the interim files, I see that my content is in the simpleWpWithLevels.xml file, but in the simple2dita step, it seems to ignore everything except the title and only generates the map.

I'm not using a style mapping (yet) and my DOCX file is not being generated by Word (I don't own Word) .. so maybe that's the issue? But the document.xml file looks fine and the processing seems like it should be generating something useful.

My test document is just a main title with a couple of subheads and some bogus content .. very short. I get similar results when using a DOCX that was written by Word.

Is the style mapping required? I'll try setting that up now, but it seems that this should be writing out something for unmapped styles .. yes?

The log tells me .. Transform complete .. and BUILD SUCCESSFUL.




Join to automatically receive all group messages.