Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: XSL problem >Thread Next - Re: XSL problem Re: XSL problemTo: NULL Date: 5/7/2004 8:11:00 AM "Ben Edgington" <usenet@e...> wrote in message news:87fzad2xz8.fsf@e...... > > Whilst watching television with my two-year-old this morning I > realised that, of course, recursion is the proper way to maintain > state-information in XSLT. (The challenge presented by the Fimbles is > limited, you understand.) > > This solution combines the best of Martin's and mine: it maintains > state information without recalculating it from scratch every time, > and its size is only linear in the number of options considered. > ah of course - I'd forgotten about apply-templates...with-param It's very interesting how different these three approaches are. I had already thought about something like Martin's idea but I figured it would get out of hand so I didn't take it all the way to completion. Your original was the lateral thinking solution I was hoping someone would come up with. But this last one is the one I'm kicking myself for not thinking of - the one I didn't think existed. Andy | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
