net.sf.saxon.instruct

Class LocalVariable

public class LocalVariable extends GeneralVariable

Handler for local xsl:variable elements in stylesheet. Not used in XQuery. In fact, the class is used only transiently in XSLT: local variables are compiled first to a LocalVariable object, and subsequently to a LetExpression.
Method Summary
ValueRepresentationevaluateVariable(XPathContext c)
Evaluate the variable
TailCallprocessLeavingTail(XPathContext context)
Process the local variable declaration

Method Detail

evaluateVariable

public ValueRepresentation evaluateVariable(XPathContext c)
Evaluate the variable

processLeavingTail

public TailCall processLeavingTail(XPathContext context)
Process the local variable declaration