RE: [xsl] Making picture "clickable" in PDF using FOP

Subject: RE: [xsl] Making picture "clickable" in PDF using FOP
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Thu, 2 Oct 2003 17:05:15 +0200
> -----Original Message-----
> From Aleksandar Zivkovic
>
> Next example doesn't make picture "clickable" in FOP.
>
> <fo:basic-link external-destination="{@href}">
>   <fo:external-graphic src="images/download.gif"/>
> </fo:basic-link>
>

Difficult to tell just from this snippet...
(Which FOP-version?)

Try:

<fo:basic-link>
  <xsl:attribute name="external-destination">
	<xsl:value-of select="@href"/>
  </xsl:attribute>
  <fo:external-graphic src="images/download.gif">
</fo:basic-link>

Provided that the @href is defined correctly, this *should* definitely work
with FOP 0.20.5.


Greetz,

Andreas Delmelle


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread