Changes for page FileToBase64
Last modified by Outhman Moustaghfir on 2024/02/26 17:12
<
>
edited by Outhman Moustaghfir
on 2023/07/24 13:08
on 2023/07/24 13:08
edited by Outhman Moustaghfir
on 2023/07/24 13:11
on 2023/07/24 13:11
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -23,19 +23,18 @@ 23 23 {{code language="XML"}} 24 24 25 25 <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" > 26 - <xsl:output method="xml" indent="yes"/> 26 + <xsl:output method="xml" indent="yes"></xsl:output> 27 27 <!-- Beginning of the Translation --> 28 28 <xsl:template match="/"> 29 29 <ixDOC> 30 - <TEST><xsl:value-of select="ixf:FileToBase64('C:\\Users\\user\\Downloads\\copyFilesParams1.png')"/></TEST> 30 + <TEST><xsl:value-of select="ixf:FileToBase64('C:\\Users\\user\\Downloads\\copyFilesParams1.png')"></xsl:value-of></TEST> 31 31 </ixDOC> 32 32 </xsl:template> 33 33 </xsl:stylesheet> 34 34 {{/code}} 35 35 36 +Upon execution, a file is generated, containing the encoded value of the file in base 64 format, enclosed within the 'TEST' tag 36 36 37 -and the output will include the file ID created in the database : 38 - 39 39 {{code language="XML"}} 40 40 <ixDOC xmlns:ixf="http://www.ixPath.com/Function" 41 41 ... ... @@ -49,4 +49,3 @@ 49 49 50 50 </ixDOC> 51 51 {{/code}} 52 -