[Home] [By Thread] [By Date] [Recent Entries]
I am having trouble defaulting the checkbox to "checked" Here is the XML: <CHECKBOX NAME="checkbox" VALUE="TEST" DEFAULT="checked"/> Here is the xsl: <xsl:element name="input"> <xsl:attribute name="type">checkbox</xsl:attribute> <xsl:attribute name="name"><xsl:value-of select="@NAME"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="@VALUE"/></xsl:attribute> <xsl:value-of select="@DEFAULT"/> </xsl:element> I get: <input type="checkbox" name="checkbox" value="TEST1"> checked </input> but I would like the "checked" inside the brackets: <input type="checkbox" name="name" value="TEST" checked> Is there any way of specifying this? ----------------------------------------------- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com
|

Cart



