Re: Option in form problem

Subject: Re: Option in form problem
From: "Perry Molendijk" <p_molendijk@xxxxxxxxxxx>
Date: Thu, 11 May 2000 19:12:34 PDT

this should work:


<xsl:element name="option">
 <xsl:attribute name="selected">selected</xsl:attribute>
 </xsl:element>

the resulting html is <option selected="selected"/> which browser will display just fine.

Perry


From: "Elder, Larry" <elder@xxxxxxxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxx
To: XSL-List@xxxxxxxxxxxxxxxx
Subject: Option in form problem
Date: Mon, 8 May 2000 11:12:12 -0400

I'm trying to create a blank line in a drop down list. The list is inside a
form, obviously.

What I'm using, and works BTW, is...

<xsl:element name="OPTION">
  <xsl:attribute name="SELECTED"/>
  </xsl:element>

The output I get is

<Option selected="" />


What I want is the more robust...


<Option selected />

Ideas, please.

Larry Elder


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

________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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



Current Thread