<
From version < 19.1 >
edited by Outhman Moustaghfir
on 2024/01/19 14:53
To version < 18.2 >
edited by Assala Chmiti
on 2022/06/13 13:18
>
Change comment: Update document after refactoring.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.omoustaghfir
1 +XWiki.achmiti
Content
... ... @@ -68,6 +68,7 @@
68 68  1**. **iXEnv**: used especially when the developper wants to switch the environment and use another scenario in another environment. It is a variable that precise the name of the new environment
69 69  1**. [[image:1649942613906-103.png]]
70 70  
71 +
71 71  (% class="wikigeneratedid" id="H" %)
72 72  When you change the environment, make sure to verify that the variable iXSwitchEnv has the value true.
73 73  
... ... @@ -80,17 +80,10 @@
80 80  
81 81  
82 82  {{code language="XML"}}
83 -<xsl:value-of select=" ixf:SetVar('newVar', 'var Number 1','false')"></xsl:value-of>
84 +<xsl:value-of select=" ixf:SetVar('newVar', 'var Number 1')"></xsl:value-of>
84 84  
85 85  {{/code}}
86 86  
87 -=== Explanation: ===
88 -
89 -* ixf:SetVar: Presumably a custom function or extension function that sets a variable.
90 -* 'newVar': The name of the variable being created.
91 -* 'var Number 1': The value assigned to the variable.
92 -* 'false': The third argument determining whether the variable is global (true) or local (false). if the variable is true so this meaning we can get the variable from the parent scenario.
93 -
94 94  The call of this new variable in the scenario is similar to previous system variables:  **${newVar}.**
95 95  
96 96  To get 'newVar' inside an XSL file :
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian