xsl-list
[Top] [All Lists]

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

2008-04-05 07:06:10


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 Mengué
http://o.mengue.free.fr/
_________________________________________________________________
Découvrez les profils Messenger de vos amis !
http://home.services.spaces.live.com/
--~------------------------------------------------------------------
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>
--~--