Backlinks in Topics

Post here questions and problems related to editing and publishing DITA content.
akiraaa
Posts: 13
Joined: Mon Dec 14, 2020 11:20 am

Backlinks in Topics

Post by akiraaa »

Does DITA support backlink?

For example, if I cross reference topic B in topic A, then topic B automatically has a related link to topic A. Is this possible using DITA?
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Backlinks in Topics

Post by Radu »

Hi,

Yes, this is possible by defining a relationship table in the DITA Map:

https://www.oxygenxml.com/doc/versions/ ... nking.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
akiraaa
Posts: 13
Joined: Mon Dec 14, 2020 11:20 am

Re: Backlinks in Topics

Post by akiraaa »

Hi Radu,

Thanks for the quick response.

Apart from using relationship tables, it seems grouping topics in the topichead element also creates related links for each topic. But in the DITA specification, this is not mentioned. Does this mean this way of creating related links is not recommended? Or is there any limitation?
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Backlinks in Topics

Post by Radu »

Hi,

Besides reltables, you can also set the "collection-type" attribute on a topicref or a topichead which has child topicrefs:

https://www.oxygenxml.com/dita/1.3/spec ... -atts.html

https://www.oxygenxml.com/dita/1.3/spec ... butes.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply