This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: key with restricting the scope of use attribute
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] key with restricting the scope of use attribute
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 11 May 2001 00:34:16 +0100
- References: <20010510174738.39381.qmail@web12601.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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