[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: when to 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
|
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
|