Subject: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>