I have a mapping question. I am trying to map the following structure: How do I achieve the creation of one node <Invoice_Main> if Invoice node exist in input.
<Vendor>
<Invoice></Invoice>
<Invoice></Invoice>
</Vendor>
to output structure
<Vendor>
<Invoice_Main>
<Invoice_Detl></Invoice_Detl>
<Invoice_Detl></Invoice_Detl>
</Invoice_Main>
</Vendor>
I check If Invoice Node exists and then use CreateIF to create Invoice_main Node.. This works fine for first record, but for the second record the creation of Invoice_detl node fails.