cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue: link related items together based on a key

Former Member
0 Kudos

Hi guys,

I have a mapping issue.

I have a source structure like this:

<ad>

<key>

<value1>

</ad>

<ad>

<key2>

<value2>

</ad>

<bx>

<key>

<value3>

</bx>

<bx>

<key2>

<value4>

</bx>

<bx>

<key2>

<value5>

</bx>

I need to get this:

<kitem>

<value1>

<bx>

<value3>

</bx>

</kitem>

<kitem>

<value2>

<bx>

<value4>

<value5>

</bx>

</kitem>

Any idea, how to achieve this?

Thanks,

Olian

Edited by: Olian Saludew on Aug 4, 2009 12:08 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try with this: sort and sortbykey standard functions

Regards

Ivan

Former Member
0 Kudos

Hi,

See the following mapping image:

[http://www.imagenonline.com/img_a162827.gif|http://www.imagenonline.com/img_a162827.gif]

Regards

Ivan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Olian,

The content above are your messages structures? or only a example?

Regards

Ivan

Former Member
0 Kudos

Hi,

this is an example. Any idea?

Thanks,

Olian