Re: [xsl] key with restricting the scope of use attribute

Subject: Re: [xsl] key with restricting the scope of use attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 11 May 2001 00:34:16 +0100

>  the node I am currently processing is held 
> in a variable $CurrentNode, how would you construct 
> the key to restrict its matching to just this node?

You could use generate-id() but to be honest I don't understand the
question. If the answer is  foobar then key(foobar) does what you ask
but just returns the same node as $CurrentNode, so in what way can't you
use the variable and need to use a key that returns the same thing?

David
 

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp

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


Current Thread