XSL Dropdown problem [modified]
-
<xsl:element name="a"> <xsl:attribute name="href"> <xsl:value-of select="concat('m','.aspx')"/> </xsl:attribute> <xsl:value-of select="aspdnsf:GetMLValue(Name)"/> </xsl:element> </xsl:element> this code creates a list of links but i want to create dropdown how can i do this
modified on Tuesday, February 19, 2008 6:09 PM
-
<xsl:element name="a"> <xsl:attribute name="href"> <xsl:value-of select="concat('m','.aspx')"/> </xsl:attribute> <xsl:value-of select="aspdnsf:GetMLValue(Name)"/> </xsl:element> </xsl:element> this code creates a list of links but i want to create dropdown how can i do this
modified on Tuesday, February 19, 2008 6:09 PM
I suggest reading a book on XSLT instead of blindly copying and pasting code from the web. a is an anchor element, a link. Replace the element with a list item and wrap them in an element to create the list, and you're done.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )