[xsl] XSL sheet Optimisation

Subject: [xsl] XSL sheet Optimisation
From: "Fr\id\iric SCHWEBEL" <schwebel@xxxxxxxxxxxxxxxx>
Date: Mon, 23 Apr 2001 15:39:07 +0200
Hello,

Some of my nodes have an id attribute, but can be at any depth of the tree.
For example I have a <theme id="t1"> tag. So when I want to "reach" it from
the root node, I have to use this XPath expression :

<xsl:apply-templates select="//theme[@id='t1']" />

Will the XSL processor (I use Xalan in Cocoon) process every node until it
finds the one ? Just like the XPath expression "://*[name(.)='theme' and
@id='t1']" ? Or is it better potimized ?

Thanks !
Frederic


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread