xsl-list
[Top] [All Lists]

Re: sorting question

2003-05-28 02:35:41

lars_huttar(_at_)sil(_dot_)org said:
  select="/*/sd:Service[sd:ServiceDescription/@ServiceName='Y'
      and ../sd:Service[sd:ServiceID < current()/sd:ServiceID]]" 

it works.

But even if this worked, I don't think this would really be a win because it
could be much less efficient (order N*N) than your original approach (order N
* log N for sorting).

I do not pursue any performance, just learning XSLT.

Don't think I helped much but nobody else had replied.

Thanks a lot, it helped me.
 
                best regards, margarit nickolov.




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



<Prev in Thread] Current Thread [Next in Thread>