Page 1 of 1
Backlinks in Topics
Posted: Mon Dec 14, 2020 11:27 am
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?
Re: Backlinks in Topics
Posted: Mon Dec 14, 2020 12:37 pm
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
Re: Backlinks in Topics
Posted: Tue Dec 15, 2020 1:05 pm
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?
Re: Backlinks in Topics
Posted: Tue Dec 15, 2020 1:25 pm
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