Exporting to an Xml File
The Export to Xml File task exports datasets or other Rulex structures into an Xml file.
Drag the Export to Xml File task onto the stage.
Connect a task, which contains the data to export, to the task.
Double click the Export to Xml File task.
Configure the task options as described in the table below in the Options and File format tabs.
Save and compute the task.
Export to Xml File options
Data to be exported
Select what type data you want to export from the list of options.
Possible options are:
Select how you want to save the file, either by storing it in a location you will then specify, by sending the file as an e-mail or both ways.
If you select to send the file by e-mail, you must then specify the e-mail address in the Recipients for export via email edit box.
If you choose to export to a Custom source, choose the filesystem type and click on the pencil icon to fill its values, if you have chosen a remote filesystem.
If you are exporting to a Azure Storage repository you can either:
Enter or browse to the directory where the file will be saved.
Enter a name for the file that will be exported.
Tag name that includes the dataset
The tag name that includes the dataset.
Add current date and time as prefix
If selected, the date and timestamp will be added to the start of the file basename as a prefix
Add current date and time as suffix
If selected, the date and timestamp will be added to the end of the file basename as a suffix
Recipients for export via email (use comma as separator)
Specify the email addresses where the exported file will be sent, separated by commas.
This option will only be valid if you have selected Send via email or Both in the Mode option.
File Format options
Select the format in which you want to export the file: flat, nested or according to the group column.
If you select the group option, you must have selected the Group Column option when importing the Json file, in order to create a column which identifies the group of each tag.
If you did not select this option in import, Rulex will not be able to identify which group each tag belongs to, and consequently a single group will be created in export.
Key for types
Specify the attribute which defines the data type.
Remove missing values
If selected, missing records are removed from the exported file.
If you want to export to a Local Filesystem, check the dedicated Local Filesystem page.