-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: dinsdag 21 januari 2003 9:31
To: [EMAIL PROTECTED]
Subject: RE: How to dynamically set src attribute

Try it.. it may be possible.

Or if the SRC value can vary in the range around 1..5
you can apply the selecting criteria in the xsl itself.

e.g.,
<fo:block>
        <xsl:choose>
                <xsl:when test="@VALUE=1">
                  <fo:external-graphic src="image1.gif"/>
                </xsl:when>
                <xsl:when test="@VALUE=2">
                  <fo:external-graphic src="image2.gif"/>
                </xsl:when>             
                ---
                <xsl:otherwise>
                  <fo:external-graphic src="image_else.gif"/>
                </xsl:otherwise>
        </xsl:choose>
</fo:block>



I guess that in this case you also could you use something like this:

        <fo:external-graphic src="[EMAIL PROTECTED]"/>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to