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: Option in form problem



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@purchasingcenter.com>
>Reply-To: xsl-list@mulberrytech.com
>To: XSL-List@mulberrytech.com
>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

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