|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Adding a chekbox with XSL
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@xxxxxxxxxxx
Web : www.ndsapps.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








