Hi Dave, what is an iterative stylesheet execution model? I can look into Xalan-C code, but it is time consuming (so I won't look) and I need java xslt processor. I have explored Xalan-J, Saxon and hmm I don't remember the third. The main problem with implementation of incremental one based on any XSLT processor is their internal document model. I can work with DOM style document models only. Xalan has clear architecture, but optimization are everywhere, so there is DTM and special cases. Also Xalan supports so many format, I will only DOM. I've made design of Darwin based on Xalan but special case like two mentioned, breaks my design. Tomas Studva
David Bertoni wrote: > > You would have to trace through the alternate code path to figure this > out, > but perhaps it's an optimization as well. Someone who is more familiar > with Xalan-J might know better. > > If you have any knowledge of C++, you might want to look at Xalan-C, which > implements an iterative stylesheet execution model. With some > limitations, > it could easily be adapted to an incremental model, since the execution > could be interrupted with each "child" that is instantiated. > > One major limitation is that the evaluation of params and variables is not > executed iteratively. Instead, they are executed recursively, because I'm > not quite sure what the semantics of iteratively executing the evaluation > of the params would be. > > Dave > > -- View this message in context: http://www.nabble.com/ElemApplyTemplates-implementation-tf4603600.html#a13155655 Sent from the Xalan - J - Users mailing list archive at Nabble.com.