Hi,
I'm trying to display an image and for the source, I'd like to use a
variable because the path to the image will change from time to time.
Is something like this possible? If not, can anyone suggest another
way? Here is an example:
I declare my variable on top and use it down below:
<xsl:variable name="logo">
<xsl:choose>
<xsl:when test="//xsl_logo='Y'">
<img height="40"
src="\\csmpls18m\data\application\images\nsslogoblue.gif"
width="120"></img>
</xsl:when>
</xsl:choose>
</xsl:variable>
<td valign="top"><xsl:value-of select="$logo"/>
Thank you!
Jitt
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|