Mapping repeating structures is slightly different from mapping single elements because of the nature of the elements or instances available for mapping. The following example shows a message tree node partially expanded.
message1 |_ top |_ middle[] |_bottom[] |_ middle[1] |_bottom[] |_bottom[All] |_bottom[1]
In this example, an entry followed by [] is referred to as a repeatable node, one followed by [All] is referred to as an all node, and one followed by [1] is referred to as an instance element node.
There are two ways to create a mapping to a non repeatable (scalar) target for some form of aggregation.
message1 |_ top |_ middle (original) |_bottom (original) |_ middle [All] |_bottom (original) |_bottom [1] |_bottom [2] |_ middle [1] |_bottom (original) |_bottom [All] (repeat instance, 1 .. card(bottom) <--------- message2 |_some type |_parent |_non repeating child <----------
message1 |_ top |_ middle (original) |_bottom (original) |_ middle [All] |_bottom (original) |_bottom [1] |_bottom [2] |_ middle [1] |_bottom (original) |_bottom [All] |_bottom [1] |_bottom [2] |_bottom [3] |_bottom [4] |_bottom [5] |_bottom [6]
Related concepts
Repeating mappings
Aggregate mapping and unknown numbers of instances
Related tasks
Adding instances in repeating structures
Removing instances in repeating structures
Related reference
Mappings
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ar14670_ |