XML record unit

DataMagic converts from input data to output data based on the mapping information of the data processing information. This mapping information specifies how to delimit the input record and how to output one input record to the output. DataMagic performs many processes, including delimiting files with no concept of record, such as XML files, as records, and converting delimited records back into files.

If the input is XML, DataMagic delimits the input file as records based on a specific rule (hereinafter, XML record unit). If the output is XML, the number of records passed from the input is output based on the XML record unit.

There are five types of XML record unit.

XML record unit = "1"

One file is handled as one record. Therefore, one record is processed for each file.

XML record unit = "2"

Each setting element one level below the root element is handled as one record.

XML record unit = "3"

Each setting element two levels below the root element is handled as one record.

XML record unit = "Custom"

This option can be specified only when the output is XML. Any element of your choice is handled as one record.

XML record unit = "Element"

This can be specified only when the input is XML. An element of your choice is handled as being specifiable for multiple conditions.