RE: xsl checkbox
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
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