This is the mail archive of the
mailing list .
Re: sorting by date
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] sorting by date
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 24 Jul 2001 16:02:45 +0100
- References: <NEBBJGCDKMLHOAAONGKDKELOCDAA.firstname.lastname@example.org>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> So where, and how, do i include your xsl:sort tag?
In this version you are not using a for-each or an apply-templates to
construct a current node list which you then process, you are selecting
your items one at a time and moving around the soutce "by hand" with
so you never (as far as I can see) ever select more than one node at a
time so you can't use xsl:sort.
Most likely the easiest thing to do is sort forst into a temporary
then apply the templates you have got already using
where xx:node-set() is your processors node-set extension function.
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list