Cross reference automatically uses title

Post here questions and problems related to editing and publishing DITA content.
mdslup
Posts: 167
Joined: Tue Mar 06, 2018 1:34 am

Cross reference automatically uses title

Post by mdslup »

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: 9018
Joined: Fri Jul 09, 2004 5:18 pm

Re: Cross reference automatically uses title

Post by Radu »

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