Christian K. wrote:
> After testing your Evaluation Edition by converting DOCX to DITA map,
I still have some questions about its capability:
· Is there a possibility to output Lightweight DITA?
Not, not at all. Moreover we are not sure that
1) This makes sense. Lightweight DITA
(http://docs.oasis-open.org/dita/LwDITA/v1.0/LwDITA-v1.0.html) is an
easy-to-write *by* *hand* flavor of DITA. Our XMLmind Word To XML
product automatically generates some DITA.
2) It's really possible. For example, DOCX tables are much too
expressive to be translated to Lightweight DITA's <simpletable>s.
· Nearly all converted DITA topics contained a cryptographic ID
(e. g. d0e12), while a single DITA topic got its DOCX title as ID.
Is there a way that the converted DITA topic ID is always the DOCX title?
Sure. There two ways to do so and you can mix both ways.
1) Using MS-Word, insert a bookmark at the beginning of your heading.
It's this bookmark which is used as the ID of the corresponding DITA topic.
AND/OR
2) Pass parameter
edit.ids.generate-section-ids = yes
to XMLmind Word To XML product. See the documentation of this parameter:
Excerpts from
http://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#edit_step
---
Ensure that all the sections found in the semantic XHTML resulting from
the conversion of a DOCX file 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. Example:
<div class="role-section2" id="Title_of_this_section">
<h2>Title of this section</h2>
...
Setting ids.generate-section-ids to yes is especially useful when
converting a DOCX file to a DITA map or bookmap. With this parameter,
the filenames of the topics referenced by the generated map are
guaranteed to have meaningful values (e.g. "Introduction.dita" rather
than "d0e35.dita").
---
--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/w2x-support