Handle multiple occurrences
Next is a difficult part of using DML: advanced processing of multiple occurrences. In a previous section of this guide you learned about cardinalities and you saw examples of ways to select occurrences of a specific node among all the existing occurrences.
In the following pages, you go one step further. The following questions are answered:
- How do I map through a set of occurrences?
- How do I generate as many occurrences as required by the output Business Document definition, or as many as do exist in the input?
- How do I copy a complete tree of input nodes verbatim to the output?
Go through occurrences
Generate a fixed number of occurrences
Generate occurrences from occurrences
Questioning loop progress
Copy parts of inputs: The tree instruction
Select children of a CHOICE parent
FoodBroker project: Collect and copy parts