xsl-list
[Top] [All Lists]

Re: XSL and infinite loops

2004-08-26 09:21:37

If you restrict XPath so it itself can't loop (which is probably teh
case for the core Xpath1 functions (It's not the case for core
Xpath2 )
then you need to look at anything that moves the current node
around the
input tree, so that would be 
<xsl:-for-each and xsl-apply-templates.
or calls named templates
so xsl:call-template

Thanks! I'm having trouble picturing a scenario in which for-each -- by itself 
-- could cause an infinite loop under XSLT 1.0/XPath 1.0. Did you have a 
specific case in mind?

R. Guide

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com


<Prev in Thread] Current Thread [Next in Thread>