[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: use within an attribute value


Subject: RE: use <xsl:value-of> within an attribute value
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Fri, 10 Nov 2000 16:28:19 +0100

> <xsl:variable name="filepath" select="C:/webserver/htdocs"/>
> <input type="image" 
> src="<xsl:value-of select="$filepath"/>/Images/back.gif"
> onclick="history.back()"/>

You can use curly braces (attribute value templates) in cases as these: 

src="{$filepath"}/Images/back.gif"

Linda


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread