Re: [xsl] xsl:for-each efficiency

Subject: Re: [xsl] xsl:for-each efficiency
From: Mukul Gandhi <mukulw3@xxxxxxxxx>
Date: Tue, 16 Sep 2003 05:07:00 -0700 (PDT)
Please see --

http://xml.apache.org/xalan-j/faq.html#faq-N1014A

for hints to speed XSLT transformations..


It says --
1) Don't use "//" (descendant axes) patterns near the
root of a large document. 

2) Use xsl:key elements and the key() function as an
efficient way to retrieve node sets. 

Regards,
Mukul


--- andrew.curry@xxxxxxxxxxxx wrote:
> Would there be a better way of doing:
> 
> <xsl:for-each select="//element[@element-key =
> $id]">
> </xsl:for-each>
> 
> for use over a very very large document?
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Current Thread