XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
kalim khanSubject: How to retain the selected values in Dropdown using xls?
Author: kalim khan
Date: 07 Aug 2007 08:14 PM
Hi,
I am new to XSL and I am displaying a drop down box in html using xslt. I wrote the code to display the drop down box, if user selects some value on the drop down i am submitting the form and getting the value in the xsl.
But i am not sure how to retain the user selected value in the dropdown. Can anyone help me?

Below is the xsl to display the dropdown.
<xsl:param name="sCustomer"/>
<xsl:template match="attributeRange">
<td > Customer
<select name="selCustomer" >
<option>All </option>
<xsl:for-each select="range">
<option >
<xsl:value-of select="."/>
</option >
</xsl:for-each>
</select>
</td>
</xsl:template>



Thanks in Advance,
Kalim

Postnext
Tony LavinioSubject: How to retain the selected values in Dropdown using xls?
Author: Tony Lavinio
Date: 08 Aug 2007 01:53 AM
We don't see you on file as a Stylus Studio user.
Which version are you using?
You are asking on a Stylus Studio support forum.

Posttop
Bhuvana GaneshSubject: How to retain the selected values in Dropdown using xls?
Author: Bhuvana Ganesh
Date: 12 Jun 2008 06:51 AM
Help out with an answer for this. How to retain the selected option in the drop down list.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.