|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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...
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)">
|
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
|

Cart








