Re: [xsl] Creating keys depending on input parameter

Subject: Re: [xsl] Creating keys depending on input parameter
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 23 Jul 2003 15:09:21 +0100
> but I don't want to incur the overhead of the key
> creation unless I actually need them.

most, if not all, xslt engines only build the key tables the first time
key() is used in a given document. Otherwise xsl:key would be
prohibitively expensive, every document generated with document() or
xx:node-set() would have to be indexed whether or not the key actually
applied to that docuemnt.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread