|
Subject: Re: [xsl] Optimization using keys From: António Mota <amsmota@xxxxxxxxx> Date: Wed, 16 Feb 2005 19:49:47 +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...
On Wed, 16 Feb 2005 19:39:39 +0000, Antsnio Mota <amsmota@xxxxxxxxx> wrote:
> I'm also trying to optimize this template
>
> (indentity template)
>
> <xsl:template match="Menu">
> <xsl:choose>
> <xsl:when
>
test="count(./ancestor-or-self::Menu)+count(./preceding::Menu)=number($pos)">
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Optimization using keys, Michael Kay | Thread | RE: [xsl] Optimization using keys, Michael Kay |
| RE: [xsl] Optimization using keys, Michael Kay | Date | Re: [xsl] equivalent for 'while', David Carlisle |
| Month |