Display the datas in ascending order using "Nested Category" Extension
This is an open discussion with 2 replies, filed under General.
Search
Easy, use the <xsl:sort />
element.
<xsl:template name="category_listing_audio_drop_down"> <xsl:for-each select="nested-categories/main-tree/item"> <xsl:sort select="." /> <option value=" {.}"><xsl:value-of select="."/></option> </xsl:for-each> </xsl:template>
Thank You phoque, it works well,
Create an account or sign in to comment.
Hi,
How to display the data in ascending order using "Nested Category" Extension.
I am using Nested Category to create a category and Displaying the result by using this below template.
My Template Code is:
My Current Output is :
Amour Pardon Misericode Anges Eschatologie Israel Anges Demons Couple Enfants
I want to display the above output in ascending Order
Thank you for your solution.