Page 1 of 1

Conrefs and preprocessing in DITA-OT

Posted: Wed Mar 19, 2014 7:54 pm
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

Re: Conrefs and preprocessing in DITA-OT

Posted: Thu Mar 20, 2014 12:31 pm
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

Re: Conrefs and preprocessing in DITA-OT

Posted: Thu Mar 20, 2014 6:41 pm
by Frank Ralf
Hi Radu,

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

Cheers,
Frank