Use the
Substitution... option to coerce an element type. This is useful if you want to specify that the input data use a specific datatype. Element, Type, Model group, and Attribute can be substituted.
Procedure
Select an element on the right side of the mapper, and select the
Substitution... option.
Configure the
Component Type field by selecting one of the following options:
Element: The element, if not an AnyElement, can only be substituted by other members in its substitution group.
Type: An AnyType or abstract type can also be substituted by other types.
Model Group: Select this option to insert the contents of a selected model group into the mapper tree. The selected element in the Activity Input Schema is replaced by the contents of the model group you select.
Attribute: Select this option to coerce an attribute to the anyAttribute type. This option is useful if you are using attributes not specified in the schema.
Select a schema for the
Namespace field by choosing an option from the drop-down menu, or click the browse icon
to view a list of available schemas in the application module.
Click the
Type field, to select an element type.
Note: Ensure that the
Type you select is an extension of the base type or within the same substitution group.
Result
After the substitution, the corresponding data type becomes the coerced one.