Skip to content

List and Merge XML Files

The List and Merge XML Files task will allow you to list xml files from a folder (and optionally sub folders) into a single XML file.

Please note, the file extension of your XML files must be '.xml' as the task will append your search pattern with this file extension if it is not in the setting value.

Settings

Folder

Required
The folder you want to list. The default value will be your working directory ('.').

Output File

Required
The file to save XML records to. The XML files listed in the previous setting will be merged into this single output file.

Recursive

Required
If the search should include sub folders. This is set to false by default.

Search Pattern

Required
The search to use when listing files e.g. *.xml for only XML files. If you do not end your search pattern with '.xml' then the task will append the file extension to your search pattern.

Root Node

Optional
The name of the root node to use in the output XML.

If not specified, it will default to the name of the root node from the first input file. If no input files are provided, it will default to 'SuccessNoData'.

Zynk Settings

See Common Task Settings