Webhelp responsive Group all related links together

<oXygen/> general issues.
axhxu
Posts: 28
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

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

Costin
Posts: 629
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:
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
Costin Sandoi
oXygen XML Editor and Author Support

Post Reply