Re: [xsl] Attributes without values

Subject: Re: [xsl] Attributes without values
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 25 Jul 2001 09:16:29 +0100
> 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


Current Thread