xsl-list
[Top] [All Lists]

RE: Making picture "clickable" in PDF using FOP

2003-10-02 08:05:15
-----Original Message-----
From Aleksandar Zivkovic

Next example doesn't make picture "clickable" in FOP.

<fo:basic-link external-destination="{(_at_)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



<Prev in Thread] Current Thread [Next in Thread>