RE: [xsl] How to sort a nodeset returned by key()?

Subject: RE: [xsl] How to sort a nodeset returned by key()?
From: Dolmen ! <dolmen@xxxxxxxxxxx>
Date: Sat, 5 Apr 2008 16:05:39 +0200
Michael Kay wrote:
> If you are using XSLT 1.0 then the type system only supports node-sets, not
> node-sequences, therefore you cannot store a sorted node-sequence in a
> variable.
>
> The approach you outline would be fine for XSLT 2.0, but in 1.0 you'll have
> to find some other way.

I found an other way. However it is much more verbose and it requires an
additional for-each loop.











    Accounts ordered by region


          RegionAccount

























Olivier Mengui
http://o.mengue.free.fr/
_________________________________________________________________
Dicouvrez les profils Messenger de vos amis !
http://home.services.spaces.live.com/

Current Thread