Page 1 of 1

Sharing Content Breaks Document Structure

Posted: Sat Sep 24, 2016 2:50 am
by cjboorman
I have a strange problem with my output document. Links to subtopics appear in a topic that shouldn't have any. I'm sharing that topic between two doc sets, and I am using one master ditamap to combine two sub ditamaps.

Re: Sharing Content Breaks Document Structure

Posted: Mon Sep 26, 2016 3:06 pm
by Radu
Hi Christopher,

If you are referencing a topic multiple times in the DITA Map, by default only a single HTML file will be generated for that topic and if in one of those places the topic has child subtopics, the single generated HTML file might contain the links to the children.
You should try to use the @copy-to attribute on subsequent references to the topic in order to force creating new HTML files for each time the topic is referenced in the maps.

Regards,
Radu