RE: [xsl] Re: topological sort

Subject: RE: [xsl] Re: topological sort
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 5 Jan 2001 12:00:36 -0000
> So your construct count be replaced by:
>   not(field/type/ref[not(. = $processed/name)])
> I'm not sure whether this will be more efficient - it probably depends
> on the processor.  

In Saxon it almost certainly will be. The count()=count() construct will
fully enumerate both node-sets, whereas the not(x[not(y)]) construct will
stop as soon as the first relevant element is found.

Mike Kay

 XSL-List info and archive:

Current Thread