Export Worksheet data as XML file
Minimum Origin Version Required: 2020b
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
This X-Function can be used to export current worksheet as an XML file.