Skip to Content
0
Former Member
Dec 01, 2011 at 02:04 PM

creating substructures in message mapping

35 Views

Hi,

I need to do a message mapping to go from

<message>

<structure>

field1

field2

fieldA

fieldB

</structure>

<structure>

field1

field2

fieldC

fieldD

</structure>

<structure>

field3

field4

fieldE

fieldF

</structure>

<structure>

field3

field4

fieldG

fieldH

</structure>

etc..

to

<message>

<structure>

field1

field2

<substructure>

fieldA

fieldB

</substructure>

<substructure>

fieldC

fieldD

</substructure>

</structure>

<structure>

field3

field4

<substructure>

fieldE

fieldF

</substructure>

<substructure>

fieldG

fieldH

</substructure>

etc..

I've managed to create as many target structures as there are occurences of the first field in the source structure, but i cannot find the solution to create the correct amount of substructures inside the target structures. Can it be done with graphical mapping?

Any help appreciated.

Kr

Robert