Changes for page EncodeBase64
Last modified by Assala Chmiti on 2022/06/13 13:18
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -18,13 +18,14 @@ 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 'snamethat 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 that contains the file. 22 22 23 + 23 23 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. 24 24 25 25 ====== //**First case:**// ====== 26 26 27 -In an XSL, to call this system function, we use this form ixf:EncodeBase64('TXT Or BINARY','Connector containing the fileOr Valuethat you want to encode in Base64').28 +In an XSL, to call this system function, we use this form ixf:EncodeBase64('TXT Or BINARY','Connector Or Value'). 28 28 29 29 30 30 Ex: [[image:1639409371610-701.png]] ... ... @@ -32,7 +32,7 @@ 32 32 33 33 ====== //**Second case:**// ====== 34 34 35 -In the scenario, to call this system function inside a connector, we use this form {System.EncodeBase64;TXT Or BINARY;Connector containing the fileOr Valuethat you want to encode in Base64}.36 +In the scenario, to call this system function inside a connector, we use this form {System.EncodeBase64;TXT Or BINARY;Connector Or Value}. 36 36 37 37 38 38 Ex : [[image:1639409310770-326.png]]