Skip to Content
0
Former Member
Aug 04, 2009 at 10:05 AM

Mapping issue: link related items together based on a key

11 Views

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