You can use a function or a transform to set the value
of an output element, either by connecting the output element with
an input element and then specifying a transform on the connection
between them, or by specifying a transform directly on the output
element. For information about creating connections and specifying
transforms, see Editing message maps.
For information
about all the functions and transforms that are available, see Transform types in the Graphical Data Mapping editor.
Transforms that support conditional
control such as the If transform can use XPath
2.0 expressions, or invoke Java™ or ESQL functions.
You can use any of the following mapping operations to
map graphically your data in the Graphical
Data Mapping editor
Define transformations to set the value of output elements
in your output message:
- Use the Assign transform to set the value
of an output element to a constant. For more information, see Setting the value of an output element to a simple data type.
- Use any of the xs:type transforms to cast
the value of a simple type input element and set the value of a simple
type output element. For more information, see Setting the value of an output element with a explicit data type.
- Use the Create transform to set the value
of an output element that is defined as a simple type or as part of
a complex data type. You use the default or the fixed value defined
in the schema for that element. For more information, see Setting the value of an output element to a default or fixed value.
- Use the Assign transform or the Create transform
to create an empty output element defined as a string or as a hexBinary
element. For more information, see Creating an empty output element.
- Use the fn:nilled XPath function, and the fn:exists XPath
function to define conditional expressions that determine whether an input element is nilled, or is
present. For more information, see Checking whether the value of an input element exists, or is null.
- Use the fn:empty XPath function to define conditional expressions that
determine whether an input element is empty. For more information, see Checking whether the value of an input element exists, or is null.