Sharing Content Breaks Document Structure

cjboorman
Posts: 37
Joined: Wed Jun 19, 2013 1:49 am

Sharing Content Breaks Document Structure

Post by cjboorman » Sat Sep 24, 2016 2:50 am

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.

Radu
Posts: 6380
Joined: Fri Jul 09, 2004 5:18 pm

Re: Sharing Content Breaks Document Structure

Post by Radu » Mon Sep 26, 2016 3:06 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply