Hello everybody,
I have a source document like the following:
<Level1>
<Level2>
<Value1>1</Value1>
<Value3>HHGH</Value3>
</Level2>
<Value1>2</Value1>
<Value2>Text2</Value2>
<Level2>
</Level2>
<Value1>3</Value1>
<Value2>Text3</Value2>
<Value3>FGFGFG</Value3>
<Level2>
</Level2>
</Level1>
I want to map to the target document only the <Value2> element where the <Value1> element = "3".
If I try this with the mapping tool, the contexts get out of synch, because the first <Level2> element has no <Value2>.
So I have the <Value1>3</Value1> element connected with the <Value2>Text2</Value2> element, which are in different contexts.
How can I solve this? This is happening often with IDOC mappings.
Thanks,
Hans