Page 1 of 1

Export to XML?

Posted: Thu Feb 07, 2019 4:03 am
by pearljam
I know I can export to XML by right clicking the tables, but I wonder if it is possible to automatically export after the extraction completes?

Re: Export to XML?

Posted: Thu Feb 07, 2019 2:36 pm
by webmaster
You can do this using Action.ExportXML. Note that to run actions, the extraction logic must also be wrapped inside an action (since you can put sequences in actions, but not the other way around). So supposing Main is the global that performs the actual extraction, you can create another global with the commands below and run this global instead of Main:

Code: Select all

Action.Extract
   ·  Main
   ·  "Main"
Action.ExportXML
   ·  "file.xml"
   ·  false
   ·  Data.Main
Here, Data.Main represents the table set that the Action.Extract command above just extracted into.