Local Variable
Local variables are local to a component. Currently, the following components support local variables:
| Component name | Uses local variables for |
|---|---|
| Velocity | Velocity templates |
| XMLMerge | XPath expressions |
| XMLUpdate | XPath expressions |
Getting and Setting Local Variables
To define local variables, select the component to open the inspector. In the Variables tab, define the following:
- Name: Define the variable name.
- Type: Define the data type.
- Value: Define the default value.
See the documentation for the component in the Component reference for a guide to referencing a local variable.