This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: big recursive function


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]