Re: [xsl] setting attributes based on values

Subject: Re: [xsl] setting attributes based on values
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 18 May 2001 09:55:20 +0100
nothing to do with xsl, but 
       <xsl:if test="checked='true'">
            <xsl:attribute name="checked">true</xsl:attribute>
        </xsl:if>

the values of the checked attribute are constrained to be "checked2 or
nothing. "true" would produce invalid HTML (or XHTML).

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread