Re: [xsl] big recursive function

Subject: Re: [xsl] big recursive function
From: jon wa <jonni@xxxxxxxxx>
Date: Wed, 28 Nov 2001 12:55:07 +0100 (MET)
> On Wed, 28 Nov 2001, jon wa wrote:
> 
> > 
> > my problem then comes when i have a big pre section to process. the
> function
> > recurses so many times that my parser (gnome libxslt) throws an error.
> it
> > seems as tho i can increase the depth that it will recurse but i haven't
> found
> > a way to do it with the perl interface i'm using.
> 
> I don't know about rewriting the function, but if you're using
> XML::LibXSLT as your perl interface, 
> 
> XML::LibXSLT->max_depth(4000);
> 
> works fine for me (and deep recursion doesnt seem to impact performance as
> much as you might expect, either).
> 

Doh! sorry, i should have seen this earlier. thanks graham!

-- 
Sent through GMX FreeMail - http://www.gmx.net

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread