Stefan (or someone else)....
I'm hoping that someone can nudge me in the right direction for this.
Using some guidance from Stefan, I created a search drop-down using XSLT and Muenchian grouping.
I added the following near the top of my XSLT:
<xsl:key name="data-by-Author" match="udt:Data" use="udt:Author" />
I then modified the Search portion of the XSLT:
<xsl:template name="Searchform">
<select name="{$prefix_param}_searchPostback">
<option value="">ALL</option>
<xsl:for-each select="udt:Data[count(. | key('data-by-Author', udt:Author)[1]) = 1]">
<xsl:sort select="udt:Author" />
<option>
<xsl:value-of select="udt:Author" disable-output-escaping="yes" />
</option>
</xsl:for-each>
</select>
What if I want 2 drop-down search columns (Author and Publisher)? Can anyone give me a push in the right direction?
My UDT is at http://www.devodog.us/MyStuff.aspx (the Books module).
<input type="submit" name="go" value="{//udt:Context/udt:LocalizedString_Search}" />
<input type="hidden" name="{$prefix_param}_ispostback" value="true" />
</xsl:template>