|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Outputting form elements with msxsl:node-set funct
> If the value of the checkbox is "true" the only allowed value of the cheked attribuute is checked so you should generate checked="checked" this is the form that is required in XHTML. As you are using HTML output it will appear as just checked but that is using SGML shorthand available in HTML but not XML. in <input type="checkbox" checked> the checked is not an attribute with no value, it is an attribute value in which the atribute name has been omitted, as it can be inferred from the dtd to be, in this case, checked. You have <xsl:attribute name="Checked"/> which generates Checked="" which isn't what you want. > I have to use the msxsl:node-set function in order to create > alternating row colours. You don't appear to be sorting your input rows so I don't see any need for node-set here, you could use position() on your original for-each <xsl:for-each select="$FRM/BillerParameters/Field[@IsComment = '0']"> David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
|
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








