RE: [xsl] Dynamic Sort Value Solved

Subject: RE: [xsl] Dynamic Sort Value Solved
From: "Allistair Crossley" <Allistair.Crossley@xxxxxxx>
Date: Wed, 2 Jul 2003 16:16:40 +0100
there is only one filterOrderBy node. They are nodes that represent query parameters from a web page.

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: 02 July 2003 15:47
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Dynamic Sort Value Solved




  I just need to supply a pattern to the value instead of a variable...

  <xsl:sort select="//filterOrderBy/@value" order="ascending" />

I didn't catch the beginning of this thread but that can't possibly be
what you want. Your sort key starts with // so it will be the same for
every item, so nothing will be sorted at all as you'll just be comparing
the same value over and over again.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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



<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


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


Current Thread