Skip to Content
avatar image
Former Member

Mapping issue: link related items together based on a key

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 04, 2009 at 03:44 PM

    Hi,

    Try with this: sort and sortbykey standard functions

    Regards

    Ivan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 04, 2009 at 01:19 PM

    Hi Olian,

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

    Regards

    Ivan

    Add comment
    10|10000 characters needed characters exceeded