xsl-list
[Top] [All Lists]

RE: Sort and Param Problem

2003-01-16 12:29:27

I am trying to use a param in a xsl:sort,

The following works:

<xsl:sort lang="C" select="*[name()=$SortBy]">

For values of $SortBy like, SortTile or Year.  But, if I want 
to use Data/nextLevel, it fails.

Is there some way to accomplish this?


only the xx:evaluate() extension function, or techniques involving
modification of the stylesheet before it's executed.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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