Hide last authors
Outhman Moustaghfir 2.1 1 = Introduction =
Outhman Moustaghfir 1.1 2
3 Retrieves the value of an xml variable stored in the list.
4
5 = Parameters =
6
7 * **"Variable Name":** The name of the variable whose value you want to retrieve (Mandatory).
8
9 = Uses =
10
11 {{code language="XML"}}
Outhman Moustaghfir 2.1 12 <TEST><xsl:copy-of select="ixf:GetXmlVar('variableName')"></xsl:value-of></TEST>
Outhman Moustaghfir 1.1 13 {{/code}}
14
Outhman Moustaghfir 2.1 15 = Note: =
16
Outhman Moustaghfir 6.1 17 To retrieve the value of a variable with XML content, you need to use copy-of instead of value-of.
Outhman Moustaghfir 2.1 18
Outhman Moustaghfir 1.1 19 = Return: =
20
21 The function returns the value of the searched variable.
Outhman Moustaghfir 6.1 22
23 = Exemple: =
24
25 to retrieve the value of a variable with xml as value
26
27 [[image:1718878893254-172.png]]
28
29
30 The result should look like this:
31
32 [[image:1718878929183-790.png]]
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian