<
From version < 4.1 >
edited by Outhman Moustaghfir
on 2024/01/22 10:28
To version < 1.4 >
edited by Outhman Moustaghfir
on 2024/01/22 10:12
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -17,6 +17,7 @@
17 17  * **value**: (Type: any) The value to assign to the variable.
18 18  * **global**: (Type: boolean, Optional) Specifies whether the variable is global or local. Defaults to False.
19 19  
20 +
20 20  === Usage ===
21 21  
22 22  ==== Example 1: Setting a Local Variable ====
... ... @@ -41,16 +41,4 @@
41 41  
42 42  To retrieve the value of a variable, use the GetVar function:
43 43  
44 -{{code language="XML"}}
45 -<xsl:value-of select="ixf:GetVar('variable_name')"></xsl:value-of>
46 -{{/code}}
47 -
48 -**variable_name**: The name of the variable whose value you want to retrieve.
49 -
50 -=== Note ===
51 -
52 -If global is set to true, the variable will be considered global. Omitting the global parameter or setting it to false makes the variable local.
53 -
54 -=== Conclusion ===
55 -
56 -The SetVar function provides a flexible way to manage variables within scenarios, allowing you to control their scope and access them as needed.
45 +
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian