![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: File formating with XSLT >Thread Next - Re: File formating with XSLT Re: File formating with XSLTTo: NULL Date: 2/1/2007 12:14:00 AM On Feb 1, 3:50 am, "Dimitre Novatchev" <dimit...@tpg.com.au> wrote: > > Note that on large documents it is likely to barf > > all over the stack and die horrible death. So I would > > strongly advise against deploying it in production > > Not necessarily. I was talking specifically about the implementation I provided. > One can use a DVC (Divide and Conquer) approach, which > requires as little as Log2(N) maximum stack depth. Wouldn't there be certain problems with implementing DVC for this task? The position of every Item depends on all previous Items after all. Tail recursion would seem like a better approach to me, but I not sure there are any XSLT processors to date that can optimize it away. (Are there, by the way?) -- Pavel Lepin | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
