Changes for page GetXmlVar
Last modified by Outhman Moustaghfir on 2024/06/20 12:25
edited by Outhman Moustaghfir
on 2024/06/20 12:16
on 2024/06/20 12:16
edited by Outhman Moustaghfir
on 2024/06/20 12:22
on 2024/06/20 12:22
Change comment:
Uploaded new attachment "1718878929183-790.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -= 1 += Introduction = 2 2 3 3 Retrieves the value of an xml variable stored in the list. 4 4 ... ... @@ -9,9 +9,13 @@ 9 9 = Uses = 10 10 11 11 {{code language="XML"}} 12 -<TEST><xsl: value-of select="ixf:GetXmlVar('variableName')"></xsl:value-of></TEST>12 +<TEST><xsl:copy-of select="ixf:GetXmlVar('variableName')"></xsl:value-of></TEST> 13 13 {{/code}} 14 14 15 += Note: = 16 + 17 +For getXmlVar, you need to use **copy-of** instead of **value-of**. 18 + 15 15 = Return: = 16 16 17 17 The function returns the value of the searched variable.
- 1718878893254-172.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.omoustaghfir - Size
-
... ... @@ -1,0 +1,1 @@ 1 +28.3 KB - Content
- 1718878929183-790.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.omoustaghfir - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.2 KB - Content