Skip to Content
0
Former Member
Jul 15, 2008 at 09:50 AM

Problem in mapping of conditional tag.

39 Views

Hi Experts,

I have the following problem:

Source tag:

<A>

<FIELD1>DATUM1</FIELD1>

<STATUS> X</STATUS>

</A>

<A>

<FIELD1>DATUM2</FIELD1>

<STATUS> </STATUS>

</A>

<A>

<FIELD1>DATUM3</FIELD1>

<STATUS> </STATUS>

</A>

Target Tag:

<C>

<FIELD1>DATUM1</FIELD1>

</C>

<D>

<FIELD1>DATUM2</FIELD1>

</D>

<D>

<FIELD1>DATUM3</FIELD1>

</D>

So, In Source Tag A, if Status =X =>Target Tag = C

In Source Tag A, if Status =empty =>Target Tag = D.

My mapping is as following:

Source Tag A->exists AND Status=X => CreateIF=>Tag C

Source Tag A->exists AND Status=empty=> CreateIF=>Tag D.

The problem is that I get in Target only Tag C:

<C>

<FIELD1>DATUM1</FIELD1>

</C>

<C>

<FIELD1>DATUM2</FIELD1>

</C>

<C>

<FIELD1>DATUM3</FIELD1>

</C>.

It looks like it does not check for each tag A.

I have tried with UseOneAsMany but it does not work and read a lot on SDN but nothing helped!

Please, any idea?

Kind Regards,

Danijela