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

RE: when to use keys?

Subject: RE: when to use keys?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 13 Oct 2000 10:03:53 +0100
use keys
> The burning question today at work is whether or not we 
> should use keys in our current project.

There are two possible reasons to use keys: performance and usability
(unfortunately the lessons learnt in database theory 25 years ago, that it's
best to keep query syntax and performance hints separate, haven't been
applied in this world).

So (a) use keys if it speeds things up,
and (b) use keys if it makes your stylesheet more readable or manageable,
e.g. by abstracting the query logic into one place that you can easily
change.

The best way to discover if keys speed things up is to try it and see.

Mike Kay
 


 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.