<t:param>

The <t:param>-element declares a variable that is initialized from a parameter set via the <t:withParam> element. The variable can be accessed in template elements following the declaration. The scope of the variable ends at the closing tag of the immediate parent element.

Attributes

name
(required) The name of the variable to be declared.
expr
If the parameter is not set, the expression is used as default value
type
The type of the variable, it must match the actual type set by the withParam element. If not set, the type defaults to OclAny