Local Variable
Local variable can be set/referred to in one component only. Now, it can be defined in the components such as Velocity 、XMLMerge、XMLUpdate. The below tells us how to use a local variable.
| Component name | how to use |
|---|---|
| Velocity | You can use it in the Velocity template |
| XMLMerge | You can use it in the XPath expressing described as a property value. |
| XMLUpdate | You can use it in the XPath expressing described as a property value. |
Memo
Having selected a component, you will see an inspector. Then you can define variable name, data type and initial value under the "local variable" tab in it.
To refer to a local variable, you can refer it by using a special notation. For more information, please refer to each component's "Help" document.