<
From version < 17.1 >
edited by Assala Chmiti
on 2022/05/11 12:55
To version < 20.1 >
edited by Outhman Moustaghfir
on 2024/01/19 15:02
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -Documentation.iXPath.User Guide.The iXPath BPMN.WebHome
1 +User Guide.The iXPath BPMN.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.achmiti
1 +XWiki.omoustaghfir
Content
... ... @@ -68,7 +68,6 @@
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 -
72 72  (% class="wikigeneratedid" id="H" %)
73 73  When you change the environment, make sure to verify that the variable iXSwitchEnv has the value true.
74 74  
... ... @@ -81,10 +81,17 @@
81 81  
82 82  
83 83  {{code language="XML"}}
84 -<xsl:value-of select=" ixf:SetVar('newVar', 'var Number 1')"></xsl:value-of>
83 +<xsl:value-of select=" ixf:SetVar('newVar', 'var Number 1','false')"></xsl:value-of>
85 85  
86 86  {{/code}}
87 87  
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 argument equals true so this means we can get the variable from the parent scenario.
93 +
88 88  The call of this new variable in the scenario is similar to previous system variables:  **${newVar}.**
89 89  
90 90  To get 'newVar' inside an XSL file :
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian