[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] pdf mailto links
I
don't think the xsls support anything like that out of the box. You'd have to
hack the ulink template in fo/xref.xsl to get it to do what you want. If I
understand what you want to do correctly, something like this should
work:
In
fo/ulink.xsl, change:
<xsl:if test="count(child::node()) !=
0
and string(.) != @url and $ulink.show != 0"> To:
<xsl:if test="count(child::node()) !=
0
and string(.) != @url and $ulink.show != 0"
and not(normalize-space(@role) = 'hideURL')">
<ulink role="hideURL"
url="mailto:usr@mymail.org?Subject=book">Feedback</ulink>
That
would result in Feedback being hot, but no indication of what the link is to.
Instead you could have the xsl test for "mailto:" in the
url--whatever suits you.
For a
complete guide on creating and maintaining a customization layer, see http://www.sagehill.net/docbookxsl/index.html
David
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]