Changes for page GetXmlVar
Last modified by Outhman Moustaghfir on 2024/06/20 12:25
<
edited by Outhman Moustaghfir
on 2024/06/20 12:18
on 2024/06/20 12:18
edited by Outhman Moustaghfir
on 2024/06/20 12:25
on 2024/06/20 12:25
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,11 +12,21 @@ 12 12 <TEST><xsl:copy-of select="ixf:GetXmlVar('variableName')"></xsl:value-of></TEST> 13 13 {{/code}} 14 14 15 -(% class="wikigeneratedid" %) 16 16 = Note: = 17 17 18 - ForgetXmlVar, you need to use copy-of instead of value-of.17 +To retrieve the value of a variable with XML content, you need to use copy-of instead of value-of. 19 19 20 20 = Return: = 21 21 22 22 The function returns the value of the searched variable. 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]]
- 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