W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2003

dynamic external images

From: Ai, Larry <lai@cas.org>
Date: Fri, 30 May 2003 14:50:08 -0400
Message-ID: <0DBCFBC9A19A294DA1F7128209329BED010730D4@ntexch02.intra.cas.org>
To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>

I need to create external images on the fly and include the images in the document.

I try the following:

<xsl:variable name="image">
    <!-- the following template return an image file name -->
    <xsl:call-template name="create-image"/>
</xsl:variable>

<fo:external-graphic src="$image"/>

FOP does not allow variable used in the attribute.

Any workaround?

Thanks!

Larry
Received on Friday, 30 May 2003 14:51:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT