RE: [xsl] Optimization using keys

Subject: RE: [xsl] Optimization using keys
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 16 Feb 2005 21:49:12 -0000
> It seems to improve a little if i change my test to
> 
> <xsl:when test="count($snode)=1 and count(.|$snode)=1">
> 
> where 
> 
>         <xsl:variable name="snode" select="(//Menu)[number($pos)]"/>
> 
> but not *that* much...

Is that a global variable or a local one? It should be global.

Michael Kay
http://www.saxonica.com/

Current Thread