[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:key
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|