This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XSL sheet Optimisation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]