Subject:Default selection of value in dropdown box in xsl Author:saila g Date:05 Jan 2010 08:07 AM
Hi,
I'm very much new to xsl and working in an xsl implemntation project.
I've to show default selection to one of the value in the drop down values. My current dropdown display is like this.
I'm getting all my values in an xml to this xsl.
In the above code, the default selection is set to "Select portfolio From".
Now i've to change the selection to the value i get in my xsl which is
<xsl:value-of select=""/ROWSET/defaultporfoliocode" />
How to do comparision with xsl:if with the protfoliocode value in the dropdown and make that option as highlighted/selected by default.
i think i've to write some thing like this. Please, correct me, how to make this work.