Re: Including external graphics dynamically

Hi,


> >I would like to include a picture with my stylesheet depending on the URL
> >passed in the XML. Normally in XSL I would set the SRC attribute via and
> >xsl:attribute command. I didn't manage to get that working with
> >fo:external-graphics.

I didn't try this with URL, but with local files it works:

XML source:
<....>
<logo>file:../gifs/logo.gif </logo>
<...>

XSL-file:
<....>
<xsl:variable name="logo" select="./logo"/>
<....>
<fo:external-graphic src="{$logo}" />

regards,

Andrei

Received on Thursday, 1 March 2001 03:44:37 UTC