This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: setting attributes based on values
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] setting attributes based on values
- From: "Clapham, Paul" <pclapham at core-mark dot com>
- Date: Thu, 17 May 2001 15:58:12 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
This doesn't work:
<input name="{name}" type="{type}" value="{value}"/>
<xsl:if test="checked='true'">
<xsl:attribute name="checked">true</xsl:attribute>
</xsl:if>
But maybe this will:
<input name="{name}" type="{type}" value="{value}">
<xsl:if test="checked='true'">
<xsl:attribute name="checked">true</xsl:attribute>
</xsl:if>
</input>
PC2
-----Original Message-----
From: Alex Black [mailto:enigma@turingstudio.com]
Sent: May 17, 2001 15:15
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] setting attributes based on values
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list