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]
Other format: [Raw text]

RE: XSL: For-Each Efficient or Not?


> We have been trying to determine whether using XSL:For-Each 
> is having an impact on the speed of our document publishing. 
> Some of my buddies don't want to use xsl:for-each because 
> they believe it causes the process to take a longer amount of 
> time than just doing a template match over and over. Is this 
> true or no? Is xsl:for-each a performance hog or does it and 
> template matching take the same amount of time?
> 
Measure it and see. The results will depend on which XSLT processor you
are using. My guess is that there will be very little difference. The
arguments against xsl:for-each are based on maintainability, not on
performance.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 


 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]