This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Attributes without values
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Attributes without values
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 25 Jul 2001 09:16:29 +0100
- References: <89CD4E678F22EA44ABCDE49C8010176F0F38CD@marathon.iisd.ca>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Is it possible to use XSLT to add an attribute to an element without
> giving it a value?
No, because then it wouldn't be XML.
This is a FAQ: you need selected='selected'> to be compliant with xhtml.
This will be output as selected if you use the html output method.
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