Wiki source code of SetVarConcat
Version 1.1 by Outhman Moustaghfir on 2024/02/20 15:56
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | |
2 | |||
3 | = Overview = | ||
4 | |||
5 | The `SetVarConcat` function is designed to help you easily update and concatenate values to variables during the execution of scenarios in your application. | ||
6 | |||
7 | = Purpose = | ||
8 | |||
9 | |||
10 | This function is useful when you need to modify the content of a variable dynamically within a scenario. | ||
11 | |||
12 | |||
13 | = Parameters = | ||
14 | |||
15 | * **variable_name**: (Type: string) The unique identifier for the variable. | ||
16 | * **value**: The new value to concatenate with the existing variable value. | ||
17 | * **global**: (Type: boolean, Optional) Specifies whether the variable is global or local. Defaults to False | ||
18 | |||
19 | |||
20 | = Uses = | ||
21 | |||
22 | {{code language="XML"}} | ||
23 | <TEST><xsl:value-of select="ixf:SetVarConcat('variable_name','ValueToConcat','false')"></xsl:value-of></TEST> | ||
24 | |||
25 | {{/code}} | ||
26 | |||
27 | = = |