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
Hi,
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
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: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Editing content of links
Post by radu_pisoi »
Hi,
DITA Open Toolkit PDF output can be customized in several ways:
http://oxygenxml.com/doc/versions/17.1/ ... ation.html
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.
http://oxygenxml.com/doc/versions/17.1/ ... ation.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service