I just have noticed
This way of writing the code is much faster
count(*[starts-with(name(),'DGBUIMSNNumber')][(_at_)action='add'])
than this way:
count(*[starts-with(name(),'DGBUIMSNNumber') and @action='add'])
Why is that?
Performance depends on which XSLT processor you are using. There's nothing
intrinsic about these two expressions that makes one faster than the other,
it's just a quirk of the particular implementation you ares using (or
perhaps of your measurement methodology...).
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--