changing to dynamic drop down list on existing xslt page
We have a small FM database that has been web enabled using FileMaker XSLT Site Assistant. The original (inherited) web pages use drop down lists that have been created manually; however we would like to generate the drop down lists dynamically. We have been able to do this in the client side FM database where it shows the drop downs in the Browse view properly. But when we view the findrecordes.xsl on the web, the field shows as a drop down, but does not display any options.
The drop down menus do display options if we recreate the site using FileMaker XSLT Site Assistant using the same layout/view. However, this would mean we have to add all the additional coding, design, etc. and creates more work.
The code below is the code that points to the field/drop down list in the newly generated findrecords.xsl page and the drop down displays the options as expected. When transferred to the existing findrecords..xsl web page, the drop down had no options listed.
Is there a something we are missing to get this to display properly?
<select size="1"> <xsl:attribute name="name">SchoolList_VL 2::Name</xsl:attribute> <xsl:attribute name="title">SchoolList_VL 2::Name</xsl:attribute> <option value="">Select One</option> <xsl:for-each select="$valuelists[@NAME = 'School_Name']/fml:VALUE"> <option> <xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute> <xsl:value-of select="."/> </option> </xsl:for-each> </select>