Cross reference automatically uses title

mdslup
Posts: 138
Joined: Tue Mar 06, 2018 1:34 am

Cross reference automatically uses title

Post by mdslup » Wed Mar 04, 2020 5:14 am

Whenever I set up a cross-reference, I type the title of the topic that I want the reference to point to. Then, I turn that text into a link.

However, I'd like to be able to set up a link such that the title is automatically generated in the link in the topic that I am creating the link in. This way, if I ever change the title, it's updated automatically. Is this possible?

Radu
Posts: 6922
Joined: Fri Jul 09, 2004 5:18 pm

Re: Cross reference automatically uses title

Post by Radu » Wed Mar 04, 2020 10:55 am

Hi,

If you insert a DITA <xref> or related link to a certain target element which has a title (topic, section, table, figure) and you leave that link element empty, the publishing should automatically compute the link text based on the target.

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

Post Reply