[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

count() vs. xsl:number (was: Measuring performance)

Subject: count() vs. xsl:number (was: Measuring performance)
From: David_Marston@xxxxxxxxx
Date: Fri, 11 Aug 2000 10:04:12 -0400
xsl count performance
While writing about performance measurement, Joe Ortiz said:
>Also, there are a few resources that indicate the efficiency
>of using certain commands over others (ie using count instead
>of xsl:number for certain applications).

If you have a situation where either count() or xsl:number
can do the job, I would certainly favor count!! I discourage
the use of xsl:number for simple counting, because it's so
big and featureful. It's purpose is to generate output
numbering when you need to display all individual items in
a set and number them. The count() function is simple and,
depending on the argument, may be able to take advantage of
prior counting activity that occurred.
.................David Marston


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.