On 03/21/2017 03:29 PM, Reilly, Aidan [TYCO GBS - Cork] wrote:
Wondering if you can answer another question for me - can the XMLMIND w2x transform
produce <topichead> elements
So you want to convert DOCX files to DITA maps.
(topichead reference is found here:
http://docs.oasis-open.org/dita/dita/v1.3/cs01/part2-tech-content/langRef/base/topichead.html)
in ditamaps instead of empty topics?
To my knowledge, w2x never generates "empty topics".
However if the DOCX file contains something like
---
Heading 1
Heading 1.1
Some text.
Heading 1.2
Some other text.
---
then yes, w2x will indeed generate a topicref pointing to a topic file
containing just a title and an empty body for "Heading 1".
If you are talking about this, then the answer is: no, not out the box.
If you want to implement this feature, please modify XSLT 1.0 stylesheet:
W2X_INSTALL_DIR/xslt/map.xslt
--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/w2x-support