Subject: RE: Re: Dynamic number of sort key component?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 16 May 2010 23:40:10 +0100
|
> I reckon however that the last expression needs to be changed
> from subsequence($sortColumnNames,
> 2) to $sortColumnNames[position() < last()] to get them
> ordered correctly (last component first processed)
>
Yes, of course. Sorry about that. Mind you, I always like to reply to
questions in a way that forces people to think about the answer.
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
|