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

Summary

Details

Page properties
Content
... ... @@ -8,6 +8,16 @@
8 8  * It writes the XML content to a file.
9 9  * The file is saved in the database, and its file ID is returned for future reference.
10 10  
11 +==== optional parameters: ====
12 +
13 +* **fileName** (optional): Specifies a custom name for the saved file. If not provided (null or empty), the file will be saved with its unique file ID as the name.
14 +* **folder** (optional): Defines the folder where the file will be stored (e.g., "work", "out", etc.). If not specified (null or empty), the file will be placed in the default "work" folder.
15 +* **synchrone **(optional): Defaults to false. Determines whether the file is set synchronously or asynchronously
16 +
17 +{{code language="XML"}}
18 +SetFile(xmlContent,fileName,folder)
19 +{{/code}}
20 +
11 11  ==== Usage Example: ====
12 12  
13 13  Consider the following XSLT transformation that calls the SetFile method:
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian