RE: [xsl] Implementation of keys in Saxon

Subject: RE: [xsl] Implementation of keys in Saxon
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 7 Mar 2003 14:29:25 -0000
What do you need to know?

A key in Saxon is implemented as a hash table, that maps key values to
lists of nodes having that value. The hash table is built (for a
particular document) the first time the key() function is executed for
that key against that document. There are some subtleties involving the
use of weak references from the compiled stylesheet and the source
document to ensure that the hash table is garbage collected when either
the compiled stylesheet or the source document is discarded from memory.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Philippe.Dubreuil@xxxxxxxxxxxx
> Sent: 07 March 2003 09:01
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Implementation of keys in Saxon
> 
> 
> 
> Hi,
> I d'like to have further information about the implementation 
> of keys (xsl : key) in Saxon or/and in Xalan. thank you
> 
> phil. Dubreuil
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread