Re: [xsl] Performance problems with grouping

Subject: Re: [xsl] Performance problems with grouping
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 1 Sep 2004 11:16:32 +0100
> but I don't think I can use that for a temp tree, 
> can I ?

yes key()can be used on any document (ie any tree that starts with a /
node, including those returned by xx:node-set().

Just use a global xsl:key declaration as usual, key() will return nodes
that match teh key from whichever document teh currentnode is in, so if
your current node is in your temporary tree at the point you call key()
then nodes from that tree will be returned.

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
________________________________________________________________________

Current Thread