RE: [xsl] Finding the maximun number of nodes

Subject: RE: [xsl] Finding the maximun number of nodes
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 5 Jan 2001 14:25:34 -0000
> Unless your XSL system is particularly smart, the count() version
> will force it to find every such node, so they can be counted,
> but the not() version will allow it to stop after it finds the
> first one.

Saxon does this optimisation (it's not particularly difficult) provided that
the argument to count() is known to be a node-set at compile-time. 

Mike Kay

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


Current Thread