W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2001

Re: Including external graphics dynamically

From: Dr. Andrei Jeleznov <Andrei.Jeleznov@carus.de>
Date: Thu, 01 Mar 2001 09:43:58 +0000
Message-ID: <3A9E19DE.228C9B9@carus.de>
To: ginser@gmx.net
CC: www-xsl-fo@w3.org

> >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:variable name="logo" select="./logo"/>
<fo:external-graphic src="{$logo}" />


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:24 UTC