You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Daniel Migowski <Mi...@artis.uni-oldenburg.de> on 2005/05/10 01:21:54 UTC
Re[2]: Some more questions about the xalan source
Hallo Henry,
HZ> Variables that are declared by a template are stored in a stack frame
HZ> (org.apache.xpath.VariableStack) at run-time. The fix-up process finds
HZ> the integer index into the stack frame for each variable reference in an
HZ> XPath expression. When an expression is evaluated, the expression
HZ> evaluation for a variable reference uses the index to look up the value in
HZ> the stack frame, instead of looking up the value by name.
HZ> I hope that helps.
Yes, thank you! The use indexes seems to be a very popular concept in the XalanJ world.
Greetings,
Daniel