Conrefs and preprocessing in DITA-OT

Post here questions and problems related to editing and publishing DITA content.
Frank Ralf
Posts: 457
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Conrefs and preprocessing in DITA-OT

Post by Frank Ralf »

Hi all,

we want to insert a table via conref and then link from outside the conref to different elements within the table. Those links are broken when we run a DITA OT transformation (PDF). The problem is that the IDs within the conref are generated in the preprocessing (see https://github.com/dita-ot/dita-ot/issues/1091).

Is there any solution for this problem? I can only imagine to run an XSL before preprocessing: Copy @id and @href to a third attribute and then - when creating the links – use the third attribute if the target cannot be identified.

Best regards
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Conrefs and preprocessing in DITA-OT

Post by Radu »

Hi Frank,

Maybe this question is more appropriate for the DITA Users List. Usually the DITA style guides discourage links to specific elements within a topic, the topic should be small enough so that you can link directly to it and not to a specific element from it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 457
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: Conrefs and preprocessing in DITA-OT

Post by Frank Ralf »

Hi Radu,

Thanks for the quick reply. I will re-post my question there.

Cheers,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Post Reply