xsl-list
[Top] [All Lists]

RE: Implementation of keys in Saxon

2003-03-07 07:29:25
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(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Philippe(_dot_)Dubreuil(_at_)inrialpes(_dot_)fr
Sent: 07 March 2003 09:01
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>