[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl checkbox

Subject: RE: xsl checkbox
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Wed, 17 Mar 2004 11:14:28 -0600
xsl checkbox checked
Well, the HTML 4.01 specs say the checked attribute is a boolean value, so
it should be set false or true.
Check the link I provided and you will agree.

About the short way, you may be right. I do remember having used 'selected'
without the true or false assignment in the <option> control. It may be very
well be valid also for the 'checked' attribute.

Cheers, Pieter

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: Wednesday, March 17, 2004 10:42 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Cc: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  xsl checkbox



  the correct way to do this is

   <input type="checkbox" name="name" checked="true" />

    Cheers, Pieter 

no, the value should be checked not true, the SGML shorthand


checked

is short for _any_ attribute declared in the dtd with value checked, it
isn't short for the checked attribute with some value.

--
http://www.dcarlisle.demon.co.uk/matthew

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

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.