[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|