logo       

Re: Can someone explain Xalan XSLT execution: msg#00010

java.helma.antville.user

Subject: Re: Can someone explain Xalan XSLT execution


Hi, Tomas.

Tomas Studva <tstudva@xxxxxxxxx> wrote on 2007-10-13 05:40:48 AM:
> I cannot provide any donations to Xalan, I'm doing on my own. I'm interested
> about interpretive execution. For me, it would be useful if you can review
> Xalan part of this document:
> http://www.javaforge.com/proj/doc/details.do;
> jsessionid=190DC631414DA527977AF6C19BE6F42F?doc_id=36525
>
> - which branch should I look on, I am interested in XSLT 1.0 (I've been
> looking on trunk)


Yes, the main trunk is the appropriate place to look for the most up-to-date code.

> - is execution iterative - by self managed stacks


I'm not sure I understand that question.  I think you're asking whether an instruction like xsl:apply-templates or xsl:apply-imports results in a recursive Java method invocation of other instructions execute methods.  The answer to that question is yes, but as I said, perhaps I've misunderstood your question.  If so, can you please elaborate?

> - why there is code to execute stylesheet in ElemTemplateElem.execute method
> and also in TransformerImpl, which and when is used


That's a good question, but I don't know the answer.  It looks like the code in TransformerImpl is used to match the initial template for stylesheet processing and also for template matching for xsl:apply-imports, but I have no idea why the code is organized that way.  Is it critically important to understand why the code is organized that way?  If so, it would take a bit of research into the history in the source repository.

> - can you look and answer
> http://www.nabble.com/ElemApplyTemplates-implementation-tf4603600.html


I'll respond to your original note separately on the list.

> - I am interested only in DOM2DOM tranformation
> - I will get a better view, I am going to profile/monitor Xalan on some xslt
> by eclipse TPTP, it will give some sequence diagram

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      XSLT Processors Development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise