Page 1 of 1

Automatic Links

Posted: Fri Sep 30, 2016 1:20 am
by cjboorman
Hi,

When you apply the WebHelp Classic transform scenario, oXygen automatically generates links to sibling topics, and adds them to the output parent topic.

But when you use the parent topic multiple times within a ditamap, and those other instances also have sibling topics, then oXygen adds links to all of the sibling topics to each copy of the parent topic!

This is confusing for the reader because they are expecting the number of child topics that appear in parent topic output to be the same as the number of child topics that appear in the table of contents.

Is there a way that I can limit the output of child topic links in the parent topic - to be the same number of child topics that appear in the table of content - for each instance of the parent topic?


Thanks,

Chris.

Re: Automatic Links

Posted: Fri Sep 30, 2016 10:02 am
by radu_pisoi
Hi,

For the case when you are referring a topic multiple times in a DITA Map, it would be better to use the copy-to attribute.

Code: Select all

<topicref href="concepts/springFlowers.dita" copy-to="springFlowers-2.dita">
In this case, you will find in the output a copy of the original topic with the name specified in the copy-to attribute and with the correct child links.

Re: Automatic Links

Posted: Tue Nov 01, 2016 11:09 pm
by cjboorman
That solved my problem - thanks.

Chris Boorman.