xsl-list
[Top] [All Lists]

RE: Optimization using keys

2005-02-16 14:49:12
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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>