Special forms are powerful, but at the same time complicate the transformation process. The current version of StoryTeller supports one special form -
union.
There are situations when message data contain set of elements coming in an arbitrary order and user wants to preserve that exact order for presentation.
One solution is to create a common element for any data driven input element. Such element represents a generic event and each instance of it contains a single one of the data driven elements as sub-element. This approach is demonstrated in detail in
Data driven example.
If a user wants to preserve both the order and the exact structure of elements at the same time, then an alternative would be to use the
union special form. This approach is described in detail in
Union example.