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@xxxxxxxxxxxxx]
Sent: Wednesday, August 29, 2001 11:52 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: options select
Karlo,
Does <xsl:attribute name="selected"></xsl:attribute> not
work?
Robin..
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
Karlo
Sent: Wednesday, August 29, 2001 11:37 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: 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
| Current Thread |
- Re: options select, (continued)
- cutlass - Wed, 29 Aug 2001 12:05:19 -0400 (EDT)
- Chris Bayes - Wed, 29 Aug 2001 12:35:33 -0400 (EDT)
- Karlo - Wed, 29 Aug 2001 12:43:56 -0400 (EDT)
- Robin Samways - Wed, 29 Aug 2001 12:02:34 -0400 (EDT)
- McKeever, Marty - Wed, 29 Aug 2001 12:15:51 -0400 (EDT) <=
- Robin Samways - Wed, 29 Aug 2001 12:21:39 -0400 (EDT)
|
|