net.sf.saxon.instruct

Class GlobalParam

public final class GlobalParam extends GlobalVariable

The compiled form of a global xsl:param element in the stylesheet or an external variable declared in the prolog of a Query.
The xsl:param element in XSLT has mandatory attribute name and optional attribute select. It can also be specified as required="yes" or required="no". In standard XQuery external variables are always required, and no default value can be specified; but Saxon provides an extension pragma that allows a query to specify a default.
Method Summary
ValueRepresentationevaluateVariable(XPathContext context)
Evaluate the variable
intgetInstructionNameCode()
Get the name of this instruction for diagnostic and tracing purposes

Method Detail

evaluateVariable

public ValueRepresentation evaluateVariable(XPathContext context)
Evaluate the variable

getInstructionNameCode

public int getInstructionNameCode()
Get the name of this instruction for diagnostic and tracing purposes