[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
larry elder private email

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.