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

RE: xsl checkbox

Subject: RE: xsl checkbox
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Thu, 18 Mar 2004 07:30:43 +0000
xsl option selected
Hi David,

From what I read here, it means that it is not legal to write:
<option selected="false">
You would have to remove the whole attribute instead of just changing the value (from "selected" to...) ?


Regards,
Ragulf Pickaxe :-)

in the prose text they use boolean  but by that they 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


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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.