DITA OT - Links to anchors show the wrong link text in HTML output

Post here questions and problems related to editing and publishing DITA content.
KevinGarcia99
Posts: 3
Joined: Fri Nov 11, 2022 7:48 pm

DITA OT - Links to anchors show the wrong link text in HTML output

Post by KevinGarcia99 »

Hi team,
I'm trying to transform a file from Oxygen 24.0 that has the following xref elements:

Code: Select all

<xref keyref="GUID/ID"/>

<xref format="dita"
              keyref="GUID/ID"
              scope="local" type="section"/>
In the output (toc.htm) all the xrefs that were defined with a keyref attribute are not getting the correct title, they show the title of the target topic, not the title of the section that is being linked to, though the links point to different anchors on the page (desired behavior). It is important to notice that this behavior is not happening with xref s that were defined with an href attribute, those are getting the correct tittle.

I'm using the DITA-OT 1.8.5 version, so I want to know if there is any workaround for this problem? Also, is this the correct place to raise this kind of questions or there is another site for this matter?
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA OT - Links to anchors show the wrong link text in HTML output

Post by Radu »

Hi Kevin,
I answered you here:
https://github.com/orgs/dita-ot/discussions/4158

Our tech support limitations are listed here:
https://www.oxygenxml.com/technical_sup ... imitations
Once you start using a publishing engine which is not bundled with Oxygen or modify the publishing with third party plugins, officially we do not help with thus. But as time allows we can try to give advice.

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