Changes for page FileToBase64
Last modified by Outhman Moustaghfir on 2024/02/26 17:12
<
>
edited by Outhman Moustaghfir
on 2023/07/24 13:11
on 2023/07/24 13:11
edited by Outhman Moustaghfir
on 2023/07/24 13:08
on 2023/07/24 13:08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -23,18 +23,19 @@ 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" ></xsl:output>26 + <xsl:output method="xml" indent="yes"/> 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')" ></xsl:value-of></TEST>30 + <TEST><xsl:value-of select="ixf:FileToBase64('C:\\Users\\user\\Downloads\\copyFilesParams1.png')"/></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 37 37 37 +and the output will include the file ID created in the database : 38 + 38 38 {{code language="XML"}} 39 39 <ixDOC xmlns:ixf="http://www.ixPath.com/Function" 40 40 ... ... @@ -48,3 +48,4 @@ 48 48 49 49 </ixDOC> 50 50 {{/code}} 52 +