xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor