This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: key with restricting the scope of use attribute




>  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]