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

RE: xsl checkbox

Subject: RE: xsl checkbox
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 17 Mar 2004 23:44:26 GMT
checkbox checked 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.

in the prose text they use boolean  but by thatthey just mean it has two
values, not present  and checked in this case. The HTML DTD defines
it to be checked=checked, but SGML rules allow that to be shortened to
checked (as no other\attribute has a declaed value of checked, so if you
just give the attribute value the attribute name is defaulted. XML
dropped these shorthands so in xhtml you have to use the full form.

> About the short way, you may be right. I do remember having used 'selected'
> without the true or false assignment in the <option> control.

yes <option selected> is short form of <option selected="selected"> and
in xhtml you have to use the full form.

David

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

 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.