Re: xslt:key cache

Florent Georges <[email protected]> Mon, 19 May 2008 13:41:09 +0200 (CEST)
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
Ivan Shirokoff wrote:

  Hi

> I've been wondering if xslt:key supports any cache methods.

  This is not related to EXSLT.  General XSLT questions are best asked
on XSL List at Mulberry Tech.

> I mean - if I a key with the same params twice - will it search
> the XML tree two times or it will save the results of the first
> one call?

  From the top of my head, I'd say that this is the purpose of xsl:key,
though not stated explicitly in the REC (that's up to the
implementation.)  Saxon for instance (if I am right) creates an index
for a key at its first use.

  Regards,

--drkm























__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail