xsl-list
[Top] [All Lists]

Sort order - dynamic select

2005-03-14 07:20:47


Is it possible to use a parameter as the select element in a sort tag?

<xsl:sort order="{$sorder}" select="$searchTerm"/>

Im trying to get the order based on the $searchTerm

ie.

so if $searchTerm = books/authors then in the xsl it would
sort by books/authors.

<xsl:sort order="{$sorder}" select="$searchTerm"/>


is this possible?
I cant get it working, is there another way to do this?

thanks!


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>