Changes for page FileToBase64
Last modified by Outhman Moustaghfir on 2024/02/26 17:12
<
>
edited by Outhman Moustaghfir
on 2023/07/24 14:52
on 2023/07/24 14:52
edited by Outhman Moustaghfir
on 2024/02/20 15:41
on 2024/02/20 15:41
Change comment:
Renamed from xwiki:iXPath V3.Funcitons.FileToBase64.WebHome
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,13 +7,11 @@ 7 7 8 8 = Uses = 9 9 10 -The syntax to be used : //**AddFileConnector({connectorAlias}, {sensType}, {fileType})**//10 +The syntax to be used : FileToBase64//**({connectorAlias} )**// 11 11 12 12 where : 13 13 14 14 * connectorAlias: the alias used in the scenario to define a connector. (SplitXML1 , AlertJob2 ...) 15 -* sensType: input or output files ( //IN //or //OUT //), it's optional and takes as default value //ANY.// 16 -* fileType: EDI, Format, StyleSheet ... 17 17 18 18 ==== Examples ==== 19 19 ... ... @@ -26,11 +26,11 @@ 26 26 {{code language="xml"}} 27 27 <?xml version="1.0" encoding="utf-8"?> 28 28 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:ixf="http://www.ixPath.com/Function" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ix="localFunction" xmlns:fn="http://www.w3.org/2005/xpath-functions" > 29 - <xsl:output method="xml" indent="yes"/> 27 + <xsl:output method="xml" indent="yes"></xsl:output> 30 30 <!-- Beginning of the Translation --> 31 31 <xsl:template match="/"> 32 32 <ixDOC> 33 - <TEST><xsl:value-of select="ixf:FileToBase64('FtpListener1')"/></TEST> 31 + <TEST><xsl:value-of select="ixf:FileToBase64('FtpListener1')"></xsl:value-of></TEST> 34 34 </ixDOC> 35 35 </xsl:template> 36 36 </xsl:stylesheet> ... ... @@ -47,4 +47,3 @@ 47 47 <TEST>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCg0KICAgPGl4RG9jPg0KICAgIA0KCQ0KCTxNZXNzYWdlIHNlbGVjdD0gIkEubnVtYmVyLEMuTkFNRSBBUyBuYW1lc3RlLEIuTkFNRSBBUyBuYW1lY2xpZW50LCBBLnNvdXJjZSwgQS5jcmVhdGVkICwgRC5zdWJqZWN0ICIgICANCgkgICAgICAgICBmcm9tID0ib3N0X3RpY2tldCBBIEpPSU4gb3N0X3VzZXIgQiBKT0lOIG9zdF9vcmdhbml6YXRpb24gQyBKT0lOIG9zdF90aWNrZXRfX2NkYXRhIEQiIA0KCSAgICAgICAgIHdoZXJlPSIoKEIuaWQ9QS51c2VyX2lkKSBhbmQgKEIub3JnX2lkPUMuaWQpKWFuZCAoRC50aWNrZXRfaWQgPSBBLnRpY2tldF9pZCkgIg0KCSAgICAgICAgID4NCgkNCgk8L01lc3NhZ2U+DQoJDQogIDwvaXhEb2M+</TEST> 48 48 </ixDOC> 49 49 {{/code}} 50 -