Hello All,
I am tring to write a
java method that will create a menu which derives its menu items from a database table.
Current scenario.
When I click on the menu in my XSL file, It pulls the menu items from a XML file. something like this
<tr><td class="head" colspan="2" align="center"><br/>Country of Origin</td></tr>
<tr class="input">
<td colspan="2" align="center" class="input">
<SELECT id="country" name="country">
<xsl:for-each select="//country/CodeList/Entry">
<OPTION class="input">
<xsl:attribute name="value"><xsl:value-of select="code" /></xsl:attribute>
<xsl:value-of select="name"/>
</OPTION>
</xsl:for-each>
</SELECT>
</td>
</tr>
where the list of country is stored in a file called country.xml
My need: Now when I click the menu, the data should be retrieved from a table which contains the various countries.
Any help will be greatly appreciated.
Thanks