Page 1 of 1

Webhelp responsive Group all related links together

Posted: Wed Feb 20, 2019 10:10 pm
by axhxu
Hi,
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

Re: Webhelp responsive Group all related links together

Posted: Thu Feb 21, 2019 12:03 pm
by Costin
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:
Eg:

Code: Select all


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

Regards,
Costin