<
From version < 3.1 >
edited by Assala Chmiti
on 2021/12/13 16:34
To version < 5.1 >
edited by Assala Chmiti
on 2021/12/14 09:57
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -18,14 +18,13 @@
18 18  The EncodeBase64 funtion have 2 necessary parameters:
19 19  
20 20  * The 1^^st^^ parameter is the **Source** that indicates if the content source is a file (BINARY) or a text (TXT). This parameter accepts just BINARY or TXT, otherwise, an error is generated.
21 -* The 2^^nd^^ parameter is the one that contains the value to be transformed in Base64. There are 2 cases: when **Source **equals to **TXT,** the Param2 is a String value** **or when **Source **equals to **BINARY, **the Param2 is the connector that contains the file.
21 +* The 2^^nd^^ parameter is the one that contains the value to be transformed in Base64. There are 2 cases: when **Source **equals to **TXT,** the Param2 is a String value** **or when **Source **equals to **BINARY, **the Param2 is the connector's name that contains the file.
22 22  
23 -
24 24  You can call this function inside a stylesheet and use it for a mapping or you can call it inside a connector, but the declaration differs in each case.
25 25  
26 26  ====== //**First case:**// ======
27 27  
28 -In an XSL, to call this system function, we use this form ixf:EncodeBase64('TXT Or BINARY','Connector Or Value').
27 +In an XSL, to call this system function, we use this form ixf:EncodeBase64('TXT Or BINARY','Connector containing the file Or Value that you want to encode in Base64').
29 29  
30 30  
31 31  Ex:  [[image:1639409371610-701.png]]
... ... @@ -33,7 +33,7 @@
33 33  
34 34  ====== //**Second case:**// ======
35 35  
36 -In the scenario, to call this system function inside a connector, we use this form {System.EncodeBase64;TXT Or BINARY;Connector Or Value}.
35 +In the scenario, to call this system function inside a connector, we use this form {System.EncodeBase64;TXT Or BINARY;Connector containing the file Or Value that you want to encode in Base64}.
37 37  
38 38  
39 39  Ex :  [[image:1639409310770-326.png]]
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian