> I just have noticed > > This way of writing the code is much faster > > count(*[starts-with(name(),'DGBUIMSNNumber')][@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/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format