<
From version < 1.3 >
edited by Abdelali EL MAJDOUBI
on 2023/08/02 12:43
To version < 1.2 >
edited by Abdelali EL MAJDOUBI
on 2023/08/02 12:28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,18 +4,14 @@
4 4  
5 5  == Syntax : ==
6 6  
7 -* ${ixf:sum(xpathExp1, xpathExp2)} calculates the sum of the results obtained from evaluating "xpathExp1" and "xpathExp2".
8 -* ${ixf:sum(xpathExp,"10")} the result will be the sum of the result obtained from evaluating "xpathExp" and 10.
9 -* ${ixf:sum("10","12","100")}  the result will be 122, which is the sum of the individual results of "10", "12", and "100".
7 +* ${ixf:sum(xpathExp1, xpathExp2)}" calculates the sum of the results obtained from evaluating "xpathExp1" and "xpathExp2".
8 +* ${ixf:sum("10",'12','100')}, the result will be 122, which is the sum of the individual results of "10", "12", and "100".
9 +* ${ixf:sum(xpathExp,"10")} the result will be the sum of the result obtained from evaluating "xpathExp" and 10
10 10  
11 11  == Note: ==
12 12  
13 -Ensure that numerical values are between:
13 +Ensure that numerical values are between double quotes (Example: "10") or single quotes (Ex: '22'),
14 14  
15 -* Double quotes : ${ixf:sum("10","12","100")}
16 -* Single quotes : ${ixf:sum('10','12','100')}
17 -* Mixing both quotes : ${ixf:sum("10",'12','100')}
18 -
19 19  while xpath expressions should remain without any quote enclosures.
20 20  
21 21  
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian