Skip to Content
0
Former Member
Dec 03, 2008 at 01:41 PM

XI Mapping with contest problem...

21 Views

Hi to all,

i have this source structure:

ITEM (1..n)

--A

--SUBITEM (0..n)

-


B

ad i have to map in this target structure:

ITEM1(0..n)

--E

ITEM2(0..n)

--F

ITEM3(0..n)

--G

The rules are: i have to create the ITEM1 if A=1, ITEM2 if A=2 and ITEM3 if A=3

ITEM1 occurence must be equals to SUBITEM occurences and B=A.

Example:

From:

ITEM

--1

--SUBITEM

-


test

--SUBITEM

-


test1

ITEM

--2

--SUBITEM

-


test2

--ITEM

--3

--SUBITEM

-


test3

To:

ITEM1

--test

ITEM1

--test1

ITEM2

--test2

ITEM3

--test3

Any help will be appreciated

Thank's