The transformation processor supports two kinds of meta rules: recurse and
enumerate. The meta rules are processed by the transformation compiler and transformed to a set of rules.
The recurse meta rule enables you to copy sub trees exactly as they are from the data template to the runtime data instance. Note that only template nodes that match the data source are copied.
When recurse is used in a transformation rule, then the rule starts to behave like a meta rule that automatically generates rules for the entire sub-tree. The usage of
recurse is illustrated by the following example:
This meta rule is similar to recurse meta rule with the only difference that
enumerate is data driven, i.e. it respects the element order in the input data. This meta rule is a bit more complicated, and thus slower, than
recurse.