Doclist inside doclist-Doclist

I have the below structuctures in IDOC to be mapped to output document

EIDKTI to be mapped to Description
TDID --------------------------- Type
TDLINE------------------------ body

Now one TDID may have multiple TDLINE ,but has to be mapped within body only.Also we may have multiple TDIDs also.How to map this scenario correctly?