Export Worksheet data as XML file
Minimum Origin Version Required: 2020b
expXML fname:=D:\Sheet1.xml;
expXML fname:=D:\Sheet1.xml exclude:=0 tag:=1;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input Worksheet | iw |
Input Worksheet |
|
Specify the input workbook where the worksheet(s) you want to exported exists. By default, current workbook will be selected. |
File Path | fname |
Input string |
|
Specify the output file path and file name. |
Order Type | order |
Input int |
|
Specify the order type in the export XML file.
Option list:
|
Exclude Empty Node | exclude |
Input int |
Specify whether exclude empty node in the XML
| |
Tag Name | tag |
Input int |
Specify the Short Name or Designation as tag name
Option list:
|
This X-Function can be used to export current worksheet as an XML file.