cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping between different nested structures

Former Member
0 Kudos

Hello,

i have an actually simple mapping problem but quarrel with the solution.

My inbound message is like this:

level1 (1:1)

level2 (1:1)

level3 (1:n)

item1

item2

level3

level2

level1

the destination structure is almost the same but with one more nested structure:

level0 (1:1)

level1 (1:1)

level2 (1:1)

level3(1:n)

item1

item2

level3

level2

level1

level0

The structure mapping is actually very simple: i simply want to map

level1 -> level1

level2 -> level2 and

level3 -> level3

But how to create level 0 of the destination structure?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

It works. Thanks.

Former Member
0 Kudos

Hi Gunnar,

Just create a constant([]) and map this constant to level0.

Thanks,

Rajeev Gupta

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

map the root node of the source to the LEVEL 0 node.

Or, use a blank Constant to create the node.

Regards

Bhavesh