This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Finding the maximun number of nodes
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Finding the maximun number of nodes
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 5 Jan 2001 14:25:34 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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