Handling of the XML record unit at the output side
The records of the input data are output based on the XML record unit setting of the output file.
This section describes how to handle the XML record unit at the output side for each value of the XML record unit setting.
(1) If the XML record unit is "1"
One record of the input data corresponds with one root element. In other words, one output file is created per one record of the input data. Output files are named using the output file specified in the data processing information and the numbers ".0001" to ".9999". The number is incremented for each new record. If the number of records exceeds 9999, the number returns to ".0001" and the output files are replaced. In this case, if you have set the output file registration mode to new (-n) when you run the command for executing data processing, an error occurs.
For details, see Conversion from a format file to an XML-format file.
(2) If the XML record unit is "2"
One record of the input data corresponds with the element of the level just below the root element. For details, see Conversion from a format file to an XML-format file.
(3) If the XML record unit is "3"
One record of the input data corresponds with the element of the level that is two levels below the root element. If multiple elements exist just below the root element in the XML information, all of these elements might be output, resulting in an XML record unit consistency error. For details, see Conversion from a format file to an XML-format file.
(4) If the XML record unit is "Custom"
The element of any level of your choice can be handled as one record. For details, see Conversion from a format file to an XML-format file and Converting XML record units set to Custom.
XML record unit can be set to Custom in the Output Settings screen only if the output file is in XML format.