|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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. 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
|
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








