Wiki source code of GetXmlVar
Version 3.1 by Outhman Moustaghfir on 2024/06/20 12:19
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Introduction = | ||
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"}} | ||
12 | <TEST><xsl:copy-of select="ixf:GetXmlVar('variableName')"></xsl:value-of></TEST> | ||
13 | {{/code}} | ||
14 | |||
15 | = Note: = | ||
16 | |||
17 | For getXmlVar, you need to use **copy-of** instead of **value-of**. | ||
18 | |||
19 | = Return: = | ||
20 | |||
21 | The function returns the value of the searched variable. |