- From: Dr. Andrei Jeleznov <Andrei.Jeleznov@carus.de>
- Date: Thu, 01 Mar 2001 09:43:58 +0000
- To: ginser@gmx.net
- CC: www-xsl-fo@w3.org
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