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.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list