Re: [xsl] big recursive function

Subject: Re: [xsl] big recursive function
From: Graham Seaman <graham@xxxxxxxxx>
Date: Wed, 28 Nov 2001 11:49:30 +0000 (GMT)
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).

Graham


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


Current Thread