I have an incoming cobol. There is a field NAME and it occurs 4 times. In the outgoing xml i have fields Name1, Name2, Name3, Name4.
How do i map the first occurance of the NAME filed of copybook to Name1 in XML and similarly second occurance of NNAME filed of copybook to Name2 in XML and so on.
Can someone please help.