I am trying to resolve my images dynamically. When I perform the following: <fo:block> <xsl:variable name="pic" select="../[EMAIL PROTECTED]"/> <fo:external-graphic src="url("$pic")" content-height="201in" scaling="uniform"></fo:external-graphic> Image= <xsl:value-of select="$pic"/> </fo:block>
Variables inside an attribute are not resolved by default, in xsl terms you have to use an attribute template: this means just put {} around the variable, e.g.
<fo:external-graphic src="url('{$pic}')"/>
I have just used single quotes instead of trying to use $quot; entity as its easier. Note that content-height doesnt have any effect in FOP 0.20.5.
<snip/>
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]