Editing content of links

Here should go questions about transforming XML with XSLT and FOP.
Posts: 7
Joined: Wed Aug 05, 2015 10:37 am

Editing content of links

Post by Victor » Fri Nov 20, 2015 2:06 pm


Using the DITA-OT1.8.5 transformation to Pdf, a link in a topic to a figure or table results in a reference to a page number in the publication.
If a topic contains a link like this: <xref href="#Concept_1/figure-id1"/>, it will show up like this "Figure 1: image_title on page 10" in the Pdf.

I would like to skip the "on page 10" part of the link, and realized this by changing the "links.xsl" file of the OT. In this file, I skipped the call of the "insertPageNumberCitation" template.

Although the change is successful, I expect it to be hard to maintain because the file is part of the OT.
Is there a way to realize this change in a file of the "customization" folder? E.g. in the "custom.xsl" file?

Thanks in advance, Victor

Posts: 376
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova

Re: Editing content of links

Post by radu_pisoi » Mon Nov 23, 2015 2:53 pm


DITA Open Toolkit PDF output can be customized in several ways:
  • creating a DITA Open Toolkit plugin which adds extensions to the PDF plugin. More details can be found in the DITA Open Toolkit user manual.
  • Creating a customization directory and using it from the PDF transformation scenario.
You can find more details in our user manual:
http://oxygenxml.com/doc/versions/17.1/ ... ation.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Post Reply