docbook 5 xlink -> fo -> pdf problem
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 8
- Joined: Thu Dec 09, 2010 12:32 pm
docbook 5 xlink -> fo -> pdf problem
Hi,
(oxygen 12.1, linux/Debian)
here is a para I wrote with a word which is a link to an audio part:
<para>Click <link xlink:href="/home/eric/travail/Langues/FSI/lesson1.mp3"><emphasis role="bold">here</emphasis></link> to listen.</para>
The problem is that not only the word "here" is clickable, but I get also the URL surronded by [ ] and clickable too.
I tried with different FO xsl (1.72 version), and my link is fine.
I tried many tips like using the "endterm" attribut, but with no result.
I think, I miss something
Please, help me
Eric!
-----
(oxygen 12.1, linux/Debian)
here is a para I wrote with a word which is a link to an audio part:
<para>Click <link xlink:href="/home/eric/travail/Langues/FSI/lesson1.mp3"><emphasis role="bold">here</emphasis></link> to listen.</para>
The problem is that not only the word "here" is clickable, but I get also the URL surronded by [ ] and clickable too.
I tried with different FO xsl (1.72 version), and my link is fine.
I tried many tips like using the "endterm" attribut, but with no result.
I think, I miss something

Please, help me
Eric!
-----
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: docbook 5 xlink -> fo -> pdf problem
Hello,
I'm not sure when exactly was this introduced in DocBook XSL, but I see it was already there in 1.75.
You can disable this by setting a parameter in the transformation scenario. Edit the DocBook to PDF transformation scenario:
Document -> Transformation -> Configure Transformation Scenario, Edit, press the Parameters button and change the value of ulink.show to 0.
Adrian
I'm not sure when exactly was this introduced in DocBook XSL, but I see it was already there in 1.75.
You can disable this by setting a parameter in the transformation scenario. Edit the DocBook to PDF transformation scenario:
Document -> Transformation -> Configure Transformation Scenario, Edit, press the Parameters button and change the value of ulink.show to 0.
Regards,ulink.show
Display URLs after ulinks?
Description
If non-zero, the URL of each ulink will appear after the text of the link. If the text of the link and the URL are identical, the URL is suppressed.
See also ulink.footnotes.
DocBook 5 does not have an ulink element. When processing DocBoook 5 documents, ulink.show applies to all inline elements that are marked up with xlink:href attributes that point to external resources.
Adrian
Adrian Buza
<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
-
- Posts: 8
- Joined: Thu Dec 09, 2010 12:32 pm
Re: docbook 5 xlink -> fo -> pdf problem
Hi,
I found myself the solution (in XSLT debugging mode).
Thanks for the help.
What I think is missing is a mode which:
doesnt' display the link and does'nt display the footnote: only the clickable text (or image)
Thanks again,
Eric
I found myself the solution (in XSLT debugging mode).
Thanks for the help.
What I think is missing is a mode which:
doesnt' display the link and does'nt display the footnote: only the clickable text (or image)
Thanks again,
Eric
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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