Link text for reltable related topic links

To control the text displayed in links automatically-generated from the relationship table, a linktext element must be added to the topicmeta for the topicref.

By default, the link text used for generated links will be the title of the target topic.

If you want the link generated by a reltable to have a different title to the title of the linked topic itself, you may think the technique would be to use a navtitle attribute in the topicref element. However, that doesn't work!

The technique to use is to add a topicmeta element to the topicref, and include a linktext element containing the name of the link text. The following example shows the technique.
<reltable>
...
  <topicref href="foo.xml"> 
    <topicmeta>
      <linktext>Replacement text</linktext>
    </topicmeta> 
  </topicref>
...
</reltable>