[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] how to use variable as "checked" in checkbox


Subject: Re: [xsl] how to use variable as "checked" in checkbox
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 10 Jul 2002 17:24:12 +0100

This is a FAQ

checked

is an SGML shorthand where you have missed out the attribute name and
just given its value. In this case the attribute is called checked.

This SGML syntax is not available in XML so in XSLT (and in XHTML) you
need the full form

checked="checked"

If you are using the html output method this will appear in teh output
as

checked

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords