[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: key vs DTD ID attribute Performance issue


Subject: RE: key vs DTD ID attribute Performance issue
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 4 Dec 2000 09:54:07 -0000

> Kay Michael writes:
>  > A key() index will probably take longer to build than an 
> id index, because
>  > of the complexity of evaluating the match pattern and use 
> expression for
>  > each node.
>
Sebastian Rahtz: 
> by the way, do items read in using document() get added to the key
> index?

Saxon maintains a separate set of indexes (hash tables, actually) for each
document. An index for key K on document D is built the first time key(K, x)
is used with D as the context document.

Mike Kay 


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



Current Thread