Subject: RE: selecting the following-sibling in recursive search...
From: Arulraj <p_arulraj@xxxxxxxxx>
Date: Fri, 18 Nov 2005 01:41:04 -0800 (PST)
|
Hello,
I am using XSLT 1.0 with Xalan parser. I need to
process more than 100 siblings.. Calling of
following-sibling invoked from the recursive search
template.
Regards,
Raj
--- Michael Kay <mike@xxxxxxxxxxxx> wrote:
> >
> > 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/
>
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
|