Skip to Content
0
Former Member
Oct 14, 2005 at 11:20 PM

Mapping

84 Views

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.