|
Subject: [xsl] RE: From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Wed, 23 May 2001 18:35:55 +0100 |
> 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] RE:, Keith | Thread | [xsl] XSL Book by Michael Kay, Janning Vygen |
| Alternate JSP syntax (was: RE: [xsl, Peter Flynn | Date | RE: [xsl] param-value in Expression, Michael Kay |
| Month |