dynamic <xsl:sort /> issues

admin

Administrator
Staff member
I am trying to get some hyperlinks in my xslt page to dynamically change the sort order of my <xsl:sort /> tag... how would i do this?

The links are headers for each column of xml data, so when i click on the "Title" link, I would like the data to be sorted by title: <xsl:sort select="title" order="ascending"/> and the year link by year etc etc.

Do I have to write some javascript or something, I'm confused, please help, anyone?
 
Back
Top