Subject: RE: 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: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Kay Michael - Fri, 5 Jan 2001 06:58:06 -0500 (EST) <=
Kay Michael - Mon, 8 Jan 2001 11:04:31 -0500 (EST)
|
|