Finn M. wrote:
I have a short question for you: Is at an easy way to get the title of a
topic instead of auto-generated id's as the name of .dita-files in the
.ditamap-file?

Sure. You can either:

* Use MS-Word to add a bookmark at the beginning of your Heading 1,2,3,etc.

This is what we have done in our "XMLmind Word To XML Manual". See http://www.xmlmind.com/w2x/_distrib/doc/manual/manual.docx. See http://www.xmlmind.com/w2x/_distrib/doc/manual/manual_map.zip

AND/OR

* Pass w2x option

-p edit.ids.generate-section-ids yes

It ensures that all the sections found in the semantic XHTML resulting from the conversion of a DOCX file (that is, the "edit" step, which precedes the "transform" to DITA step) have a unique ID. When this ID is missing, it is computed using the content of the h1, h2, ..., h6 heading which is the first child of the section.

See http://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#edit_step, search for "generate-section-ids".

--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/w2x-support

Reply via email to