Hello,
I have a source message with a node that is 0... unbounded.
The node contains a field named "component_name" with occurence 1..1.
The target message contains only two single fields (component1, component2) and the task is to provide the first two occurences to these fields.
node occ.1
component <modul beta> -> component1
node occ.2
component <modul omega> -> component2
We can expect to have any case like these:
node is 0 -> no components provided
node is 1 -> one component provided (usual case) , so second field will be empty
node is 2 -> two components provided
node is > 2 -> need to pick the first two components to provide them to the target fields.
Does anybody here have an idea how to solve this mapping issue?
Your ideas are really welcome!
Best regards
Dirk