Skip to Content
avatar image
Former Member

Mapping debug - target node not being created

Hi Gurus,

I have an issue in my mapping. Let's say I have a source structure:

><body>

> <maintag>

> <value>1</value>

> </maintag>

> <maintag>

> <value>2</value>

> </maintag>

><body>

I need to map maintag->target node but only in case if value eq 2. I used a Ifw/oElse function which creates target queue

SUPPRESS(grey)

SUPPRESS(cyan)

SUPPRESS(grey)

[]

[] (dark grey)

which is fine, because only 2nd context matches the condition. But no target node is being created!

Why? How to resolve this?

Thnak you!

Olian

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Sep 05, 2008 at 07:13 AM

    Hi Olian,

    Did you check the parent node mapping, it shud be mapped with the source node depending upon the occurence how many times you want to generate the output field.try your mapping in normal case for multiple occurence.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 02:30 PM

    Try setting the context of your source node up one level (right click on node in mapping area to see Context option).

    Keith

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 02:54 PM

    use IfWithoutElse to check following conditon..

    if value = 2(set context of value to root)--> target node

    2nd input to ifWithoutElse would be maintag

    Add comment
    10|10000 characters needed characters exceeded