This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Problems displaying xsl:value-of within quotes
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Problems displaying xsl:value-of within quotes
- From: Thorbjørn Ravn Andersen <TRA at stibo dot dk>
- Date: Fri, 16 Jun 2000 16:16:22 +0200
- Reply-To: xsl-list at mulberrytech dot com
> which is fine, but I want to change the NAME="item1" to
> NAME="<xsl:value-of
> select="@name"/>" but this does not work.
>
> Anyone know how to get around this problem ?
Use <xsl:attribute> instead to set an attribute on the open element.
Try
<INPUT TYPE="CHECKBOX">
<xsl:attribute name="NAME">item1</xsl:attribute>
<xsl:value-of select="@label"/>
</INPUT>
instead, and then replace item1 with your xsl:value-of.
Best regards,
--
Thorbjørn
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list