Need repetition in flat file (schema)

I am working on a web service to take an XML file and converts into flat file. Each appointment node in the input XML can have four different nodes: start, header, detail and end. The flat file schema has four record definitions one each for start, header, detail and end. When the input file has only one appointment node, the records start, header, detail and end are created correctly. But when the input file has more than one appointment node, flat file is created only for the first appointment. Do not know where the bug is. Is there an array option for the flat file or something like that? Any help will be appreciated.

Thanks
Siva

Hi, Siva. The Max Repeat property on the flat file record may be related to your issue.

  • Mary