Data mapping

I have multiple records in a flatfile that needs to be mapped to the xml.
In each record there are fields that are mapped to single field in xml tag(document list).
xml tag is generated for each field in flatfile.

how shall i generate successive tags for fields in each record?

a record in flatfile will appear only once.

Thanks in advance!

More detail is required. can u post code and snapshots.
Possibly u can use temporary xml tag and then carry out ‘appendtodocumentlist’ to generate original xml tag.
But this has some serious considerations as ‘appendtodocumentlist’ appends reference and not value.
Better u give more details.