[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] selecting the following-sibling in recursive search...


Subject: RE: [xsl] selecting the following-sibling in recursive search...
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 18 Nov 2005 09:31:42 -0000

> Already i am using some recursive technique in my
> code.. when i use this.. my parser gets hanging..It
> give stack overflow message.

(a) Which XSLT processor are you using?
(b) How many siblings do you need to process: that is, what is the depth of
recursion?

You might be able to avoid the stack overflow by using a different XSLT
processor.

Alternatively (if I remember the problem correctly) you could tackle it
using the XSLT 2.0 for-each-group construct.

Michael Kay
http://www.saxonica.com/


Current Thread
Keywords