This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
XSL/ulink: suggestion
- To: DocBook-Apps ML <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: XSL/ulink: suggestion
- From: Michael Wiedmann <michael dot wiedmann at detewe dot de>
- Date: Fri, 15 Sep 2000 10:45:38 +0200
- Organization: Cordless Technology
I'd like to suggest the following enhancement for the XSL/FO stylesheets:
<ulink> elements are transformed to <fo:simple-link> elements.
The property "indicate-destination" tells the processing applications
(if set to "yes"), that the link target should be indicated in some way
(see XSL spec. 6.9.2 "fo:simple-link" and 7.26 "indicate-destination").
What about adding a variable in fo/param.xsl and changing in fo/xref.xsl
the template <xsl:template match="ulink"> so the user can control this
behaviour?
E.g. like (I'm sure there are better ways to do it):
- fo/param.xsl
<!-- possible values: "yes | no" -->
<xsl:variable name="ulink.indicate" select="yes">
- fo/xref.xsl
<xsl:template match="ulink">
<fo:simple-link indicate-destination="$ulink.indicate"
external-destination={@url}">
...
Regards
Michael
--
Michael Wiedmann, Berlin