xsl-list
[Top] [All Lists]

Re: Sort order - dynamic select

2005-03-14 08:55:52
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'] |
region/regionnseo[$sterm='c']
"/>

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

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



--~------------------------------------------------------------------
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>