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"/>

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

FOP does not allow variable used in the attribute.

Any workaround?


Received on Friday, 30 May 2003 14:51:15 UTC

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