[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: big recursive function

Subject: Re: big recursive function
From: jon wa <jonni@xxxxxxxxx>
Date: Wed, 28 Nov 2001 12:55:07 +0100 (MET)
perl 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.