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