Re: [xsl] XSL and infinite loops

Subject: Re: [xsl] XSL and infinite loops
From: "R. Guide" <rguide@xxxxxxxxx>
Date: Thu, 26 Aug 2004 12:21:37 -0400 (EDT)
>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

Current Thread