This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Performance versus legibility
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Performance versus legibility
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 24 Nov 2000 15:07:34 -0000
- Reply-To: xsl-list at mulberrytech dot com
> not(string(.)) string-length(.)=0
> not(x) count(x)=0
> not(x=y) x!=y
I just realised that the second pair of expressions aren't equivalent
either:
count(x)=0 fails if x is not a node-set, not(x) doesn't.
Optimisers have to be careful with these things!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list