Sharing Content Breaks Document Structure

Post here questions and problems related to editing and publishing DITA content.
cjboorman
Posts: 37
Joined: Wed Jun 19, 2013 1:49 am

Sharing Content Breaks Document Structure

Post 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.
Radu
Posts: 9045
Joined: Fri Jul 09, 2004 5:18 pm

Re: Sharing Content Breaks Document Structure

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