Sub-topic Linking Using PrinceXML
Posted: Thu Nov 10, 2016 1:35 am
We are trying to create a DITA style sheet based on your DItamap - WYSIWYG - Experimental transformation, and seem to be just about there. However, links that refer to subtopic elements (i.e., links that contain the "#" character), although they appear underlined as links, are not active. I have tried various combinations of attributes, starting with what oXygen gives me if I use the xref (cross-reference) dialog from the element pop-up (which is "no attributes").
For instance, the following works:
[Codebox=]<xref href="concept_profiling_instrumenting_code_measure_performance.dita>This is a test</xref>[/Codebox]
But the following (which was inserted using oXygen) does not.
[Codebox=]<xref href="concept_profiling_instrumenting_code_measure_performance.dita#concept_profiling_instrumenting_code_measure_performance/ol_kgw_wxf_js>This is a test</xref>[/Codebox]
The links with "#" work in our HTML output. Just not in our PDF output using PrinceXML. I have made a lot of styling changes to the CSS, but even when I reset everything to the original that shipped with 18.1 and run the transform, the same links are broken. Any ideas what I am doing wrong?
For instance, the following works:
[Codebox=]<xref href="concept_profiling_instrumenting_code_measure_performance.dita>This is a test</xref>[/Codebox]
But the following (which was inserted using oXygen) does not.
[Codebox=]<xref href="concept_profiling_instrumenting_code_measure_performance.dita#concept_profiling_instrumenting_code_measure_performance/ol_kgw_wxf_js>This is a test</xref>[/Codebox]
The links with "#" work in our HTML output. Just not in our PDF output using PrinceXML. I have made a lot of styling changes to the CSS, but even when I reset everything to the original that shipped with 18.1 and run the transform, the same links are broken. Any ideas what I am doing wrong?