This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE:
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] RE:
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 23 May 2001 18:35:55 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I have the following code in my XSL file.
>
> <img name="<xsl:value-of select="."/>" src="arrow.gif"/>
>
XML doesn't allow elements to be nested within attributes.
You need an attribute value template:
<img name="{.}" src="arrow.gif"/>
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list