|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Benefits of using xsl:key
Jesper,
At 04:34 AM 11/5/2009, you wrote: The above is of cause only one type of dataset, but it shows to me that xsl:key can make a big difference and that fine tuning a template's match attribute can make a big difference. This thread is fascinating and informative: thanks for instigating it. But I hasten to add that your findings are relevant to Saxon and may not (probably will not) be the same for other processors. There, use of key() may make less or (in many cases) even more of a difference. This doesn't make the findings useless: on the contrary. But it does suggest, once again, that it is easy to overgeneralize when it comes to optimization. I can't count the times I have talked with students (usually fairly advanced ones) about contortions in their code, rationalized on the basis of optimization, which actually offered no effective advantages in practice. :-) Cheers, Wendell
|
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
|






