Sharing Content Breaks Document Structure

cjboorman
Posts: 37

Sharing Content Breaks Document Structure

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: 6001

Re: Sharing Content Breaks Document Structure

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

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 1 guest