Changes for page SetFile
Last modified by Outhman Moustaghfir on 2024/11/28 14:50
edited by Outhman Moustaghfir
on 2024/09/24 16:54
on 2024/09/24 16:54
edited by Outhman Moustaghfir
on 2024/09/24 16:54
on 2024/09/24 16:54
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,7 @@ 1 + 2 + 3 +=== SetFile Method Documentation === 4 + 1 1 ==== Purpose: ==== 2 2 3 3 The SetFile method is designed to store XML content in a database by saving it as a file and returning the file's unique identifier. ... ... @@ -21,7 +21,7 @@ 21 21 xmlns:fn="http://www.w3.org/2005/xpath-functions" 22 22 version="2.0"> 23 23 24 - <xsl:output method="xml" indent="yes" ></xsl:output>28 + <xsl:output method="xml" indent="yes"/> 25 25 26 26 <!-- Start of the Transformation --> 27 27 <xsl:template match="/"> ... ... @@ -54,12 +54,12 @@ 54 54 </xsl:variable> 55 55 56 56 <!-- Call the SetFile method and pass the XML content --> 57 - <xsl:variable name="fileId" select="ixf:SetFile($xmlContent)" ></xsl:variable>61 + <xsl:variable name="fileId" select="ixf:SetFile($xmlContent)"/> 58 58 59 59 <!-- Output the ID of the saved file --> 60 60 <returnedFiles> 61 61 <fileId> 62 - <xsl:value-of select="$fileId" ></xsl:value-of>66 + <xsl:value-of select="$fileId"/> 63 63 </fileId> 64 64 </returnedFiles> 65 65 </iXDOC> ... ... @@ -73,4 +73,4 @@ 73 73 74 74 The method will return the unique ID of the file saved in the database, which can be accessed as shown in the XSLT example. 75 75 76 -==== ==== 80 +==== ====