Param

The param element is used with a function element to specify the names and values of parameters that should be passed to a user provided script.

<param from-source="yes|no" type="number|string">
		value
</param>

Parameters

from-source
This attribute declares whether the value for the parameter should be read from the input data. If the value for this attribute is yes, then the value parameter must specify a fully qualified path into the source data. Otherwise, the value parameter is considered to be a fixed value and is passed to the function as-is. This parameter is optional.
type
This attribute declares the type of the data. Valid values are number for numeric values and string for text values. Before the data is passed to the function it is converted according to this type. This parameter is optional and the default for this attribute is string.

Remarks

The value for the parameter appears as the text for the param element and represents the data to pass for this parameter. If the from-source attribute is yes this must specify the fully qualified path in the source data.