[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl:key

Subject: Re: xsl:key
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 4 May 2000 00:03:06 +0100 (BST)
xsl key example hash
> What's the point of doing:
> ...
> if the xsl:key is not a static hashtable ?

none, I think. Like id, key is replaceable by some construction selecting
nodes based on an xpath expression, so you just have to trust that the
implementors implement it at least no less efficiently than that.

Perhaps a hash table is made for each included document() based on all
the current xsl:keys in effect. You'd have to ask the implementors
though (or look at the code, but looking at the code isn't my style:-)

That's how it works for id() after all. The implied hash table of id
values is per-document and you can switch the current document by using
(for example) xsl:for-each. This seems to be the implication of the
example in the spec that you quote.


David


 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.