Webhelp responsive Group all related links together

<oXygen/> general issues.
Posts: 42
Joined: Thu Aug 27, 2015 9:28 pm

Webhelp responsive Group all related links together

Post by axhxu » Wed Feb 20, 2019 10:10 pm

Just wondering if there is an easy way to group all related links together using the xsl transformations versus grouping them by topic type?

Instead of:

Related concept:
Concept 1
Concept 2

Related tasks:
Task 1
Task 2

Need to output:

Related Information:
Concept 1
Concept 2
Task 1
Task 2

Posts: 738
Joined: Mon Dec 05, 2011 6:04 pm

Re: Webhelp responsive Group all related links together

Post by Costin » Thu Feb 21, 2019 12:03 pm

Hi axhxu,

This is indeed the intended behavior and we chose to go with this implementation as may users consider that grouping the related links by their specialization is a must.

However, there is a workaround you could use to easily override this.
The workaround stands in wrapping your related links into a links list, using a <linklist/> element. As the link lists may have a title, you could use whatever text you find appropriate as a header for related links section.

More specifc, you should change your source files that contain a related links section and add the links inside a linklist, like:

Code: Select all

<title>Related Information:</title>
<link href="pathTo/1stRelatedFile.dita"/>
<link href="pathTo/2ndRelatedFile.dita"/>
Hope this helps.

Costin Sandoi
oXygen XML Editor and Author Support

Post Reply