Re: [xsl] possible nested loops

Subject: Re: [xsl] possible nested loops
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Wed, 15 Feb 2006 10:49:40 +0200
garry@xxxxxxxxxxxxxxxxxxx wrote:
[...]
> But when I use another for-each loop inside this I get spurious results
> when applied to an xml document containing 2 pupil records and if I apply
> it to my 800 plus record xml doc, Oxygen runs out of memory [...]

If you use the debugger in oXygen the transformation will be interrupted if the stack depth becomes larger than 300 (by default, you can set this from the Options->Preferences dialog on the Debugger page). Then you should be able to look on the current stack to see what is repeating there and identify the loop. You can also continue the execution step by step and see what values you have for variables, context, etc. that causes the loop.

Hope that helps,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Current Thread