RE: [xsl] Benefits of using xsl:key

Subject: RE: [xsl] Benefits of using xsl:key
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 4 Nov 2009 21:18:26 -0000
> That the optimization option in Saxon EE often makes it not 
> necessary to use xsl:key 

Correct.

> but that in many situations you can 
> obtain even greater performance by fine tuning the match 
> attribute by hand using xsl:key?

I'd say "some situations". Particularly those situations where keys are
being used for Muenchian grouping, duplicates elimination etc. Even better
is to rewrite such applications to use xsl:for-each-group or
distinct-values().

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread