Skip to Content
avatar image
Former Member

mapping ,get only first item

I have a condition for child node like level2 Posnr(from source) field should be equal to level 3's Uecha(source) field

then a child node is created ...

(the source level 2 and level 3 is of 0...unbounded so there can be any no of child nodes)

now in one of my target field "index value"

field condition is

use key values of level3 uecha

and level 9 Posnr.

if this condition is satisfied then pass the first value of level 9's "lgmart" field

(where level 9 is 0.. unbounded in source)...

ex:

Posnr(level 2) uecha(level3) Posnr(level 9)

10 10 10(uecha 9) x (lgmart 9)

20 10 10(uecha 9) y

20 20(uecha 9) a

20 20(uecha 9) b

the output should be

in this case for 4 childnode wil be created

so output wil be

10,10, x(this value should be passed only the first item)

10,10, x (this value should be passed only the first item and not y)

20,20, a

20,20, a(and not b)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 28, 2008 at 01:31 PM

    Hi Robin !

    Could explain more clearly the structure of the source and the target? maybe in XML..

    Regards,

    Matias.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 28, 2008 at 01:44 PM

    Hi Robin,

    you can achieve this with node-functions.

    I recommend to search the relevant blogs, because it is difficult to explain.

    Regards Mario

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 28, 2008 at 02:25 PM
    Add comment
    10|10000 characters needed characters exceeded