Choosing a transform to set the value of a complex output element
You can use different transforms, such as Move, Create, Assign, to set the value of a complex output element.
Procedure
Complete the questionnaire to identify the transform that you can use to set the value of a complex output element:
Results
Number of input elements that are required to set the value of the output element | Transforms to set a complex type | |
---|---|---|
Set the output element with a fixed value | 0 | Assign |
Initialize the output element | 0 | Create |
Set the output element as nil | 0 | Create Condition: The output element is defined as
|
Set the output element as nil by using a nil input element | 1 | Move
Condition: The input element must be defined as
|
Set the output element with a default value | 0 | Create Condition: The output element has a default value set in the schema. |
Set the output value from a database table column | 1..N | Select transform to obtain the database input value and Move transform to set the value |
Copy the value of the input element to the output element (both elements have the same data type) | 1 | Move |
Copy the value of the input element to the output element (elements have different data types) | 1 | xs:type |
What to do next
Learn about the transforms. For more information, see Transform types in the Graphical Data Mapping editor.