Re: [xsl] Sort order - dynamic select

Subject: Re: [xsl] Sort order - dynamic select
From: Jason Trépanier <jtrepanier@xxxxxxxxxxx>
Date: Mon, 14 Mar 2005 10:55:52 -0500
I found a solution, thought I'd share it

I'm using

<xsl:sort order="{$sorder}" select="
texte/fichetitre[$sterm='a'] |
texte/typeheberg[$sterm='b'] |

instead of <xsl:sort order="{$sorder}" select="[@name()=$sterm]" />

this allows full paths to be used as opposed to the original sort

Current Thread