This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Adding a chekbox with XSL
- To: dylan at mindstech dot com, "XSL-List at mulberrytech dot com" <XSL-List at mulberrytech dot com>
- Subject: Re: Adding a chekbox with XSL
- From: Lewis <lewis at ndsapps dot com>
- Date: Tue, 03 Oct 2000 14:55:13 -0400
- Organization: NDS
- Reply-To: xsl-list at mulberrytech dot com
Thanks for the suggestion. However, when it gets to
<xsl:if test="@textValue='Y'"> <!-- checked -->
I get:
Expected token 'eof' found '='. @textValue-->=<--'Y'
Any idea why?
Lewis
>This should work :
><p align="center">
> <xsl:value-of select="strValue"/>
> <xsl:if test="@textValue='Y'"> <!-- checked -->
> <input type="checkbox" align="center" checked="Y"
value="Y"/>
> </xsl:if>
> <xsl:if test="not(@textValue='Y')"> <!-- not checked -->
> <input type="checkbox" align="center" value="Y"/>
> </xsl:if>
></p>
--
Lewis Cunningham
NDS Systems
Tel : 727-538-2250
Mail: lewis@ndsapps.com
Web : www.ndsapps.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list