Function
Define a function that can be called from anywhere in the
subsequent XML script. This function can also be imported using
the import tag defined up ahead.
Children Tags
Required Attributes
name
Specifies a unique name for the function in this script
file.
Usage Examples
Example #1
<function name="func3">
<param name="nomore" type="optional" />
<param default="false" name="flag" />
<log>In func3</log>
</function>
Example #2
<function export="true" name="func4">
<log>xxx</log>
<return>BLAH</return>
</function>