From version 1.1 >
edited by Outhman Moustaghfir
on 2024/09/24 16:54
To version < 3.1 >
edited by Outhman Moustaghfir
on 2024/09/24 16:54
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +5,3 @@
1 -
2 -
3 -=== SetFile Method Documentation ===
4 -
5 5  ==== Purpose: ====
6 6  
7 7  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.
... ... @@ -25,7 +25,7 @@
25 25   xmlns:fn="http://www.w3.org/2005/xpath-functions"
26 26   version="2.0">
27 27  
28 - <xsl:output method="xml" indent="yes"/>
24 + <xsl:output method="xml" indent="yes"></xsl:output>
29 29  
30 30   <!-- Start of the Transformation -->
31 31   <xsl:template match="/">
... ... @@ -58,12 +58,12 @@
58 58   </xsl:variable>
59 59  
60 60   <!-- Call the SetFile method and pass the XML content -->
61 - <xsl:variable name="fileId" select="ixf:SetFile($xmlContent)"/>
57 + <xsl:variable name="fileId" select="ixf:SetFile($xmlContent)"></xsl:variable>
62 62  
63 63   <!-- Output the ID of the saved file -->
64 64   <returnedFiles>
65 65   <fileId>
66 - <xsl:value-of select="$fileId"/>
62 + <xsl:value-of select="$fileId"></xsl:value-of>
67 67   </fileId>
68 68   </returnedFiles>
69 69   </iXDOC>
... ... @@ -77,4 +77,4 @@
77 77  
78 78  The method will return the unique ID of the file saved in the database, which can be accessed as shown in the XSLT example.
79 79  
80 -==== ====
76 +==== ====
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian