Skip to Content
0
Former Member
Jun 16, 2004 at 02:14 PM

mapping non existent fields

30 Views

Hi All,

I have the following XML-Structure:

<i>

<A><A1>a1_1</A1><A2>a2_1</A2></A>

<A><A1>a1_2</A1></A>

</i>

This structure should be mapped to another structure like

<i>

<B><B1>a1_1</B1><B2>a2_1</B2></B>

<B><B1>a1_2</B1><B2><b>dummy</b></B2></B>

</i>

So the value of A1 should map to B1 and the value of A2 shuold map to B2. The problem is that B2 should contain the constant 'dummy' if A2 does not exist.

I tried with 'exists' and 'if' but it dosen't work. It only ends up with an empty <B2 />.

I'm using XI2.0 SP05 and the graphical mapping tool.

Has anybody any ideas?

Thank you in advance

Marc