Skip to Content

Source Loop Node

Multiple Occurrence of Source Loop Node

A loop node is a multi-instance node and plays a vital role in defining the transformation. Each target loop node has a corresponding source loop node, i.e., generating the target loop node depends on the multiplicity of the source loop node.

Resolve a Multiple Occurrence Conflict of Mapping Error

Defining the mapping so that the generated target loop node depends on more than one source loop node results in a conflict of mapping error. To resolve this error, check the structure definition. If all the nodes are defined as "ZERO or MORE," this would indicate a possible mislabeling of the multiplicities. If the conflict still exists after correctly defining the structure, resolve the conflict by using the instance resolving functions.

Example

Source tree with multiple segments.
<Root> (Occurs - once only)
<Segment 1> (Occurs - 0 or more)
|
<Segment 2> (Occurs - 0 or more)
|
<Segment 3> (Occurs - 0 or more)
|
</Root>