RE: Optimization using keys
> 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/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format