hi,
i am populating a html select from xml using xslt. what i need is assigning the selected value from <select> to a variable.
which test shloul i do to check if which option is selected?
here is my selector
i am populating a html select from xml using xslt. what i need is assigning the selected value from <select> to a variable.
which test shloul i do to check if which option is selected?
here is my selector
Code:
<select id="SRSSelector">
<optgroup label="Available SRS">
<xsl:for-each select="Layer/Page">
<option><xsl:value-of select="@SRS"/></option>
</xsl:for-each>
</optgroup>
</select>
Code:
<xsl:variable name="Vatt">
?...........?
</xsl:variable>