This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: options select


The old HTML "selected" attribute will not work with XSLT because it is not
well-formed XML.  The XHTML spec mandates using selected="selected",
checked="checked" etc.
Try:
<xsl:attribute name="selected">selected</xsl:attribute>
instead.



		-----Original Message-----
		From:	Robin Samways [mailto:rsamways@conceptinc.ca]
		Sent:	Wednesday, August 29, 2001 11:52 AM
		To:	'xsl-list@lists.mulberrytech.com'
		Subject:	RE: [xsl] options select

		Karlo,

		Does <xsl:attribute name="selected"></xsl:attribute> not
work?

		Robin..

		-----Original Message-----
		From: owner-xsl-list@lists.mulberrytech.com
		[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of
Karlo
		Sent: Wednesday, August 29, 2001 11:37 AM
		To: xsl-list@lists.mulberrytech.com
		Subject: [xsl] options select


		Hi, would like to know how you go about doing the following
html : "<option 
		selected value=Jan>Jan</option>" )

		I would usually use the <xsl:attribute name=selected> if I
want to get in 
		an attribute value, but this doesnt want to go..

		ALso, I installed IE 6, so I think its not too great anymore
and I might 
		have to reinstall all the parsers. Can someone give me the
URL for the 
		collection of parsers I can install ?

		THanks in advance

		Karlo


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



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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]