Examples of Mappings
Some mappings require several steps to achieve the desired results. This section describes some complicated mapping scenarios and how to achieve the desired mappings using the tools available.
Note: There are many methods to insert or modify XSLT statements in the function input schema. The examples in this section illustrate the simplest procedures to obtain the desired results. However, you do not have to follow the same procedures outlined in this section to achieve the correct set of statements.
- Setting an Element Explicitly to Nil
In some situations, you may wish to set an element explicitly to nil. One situation is when you wish to insert a row into a database table and you wish to supply a NULL for one of the columns. - Merging Input from Multiple Sources
You may have multiple items in the Scope Variables that you wish to map to one repeating element in the Function panel. - Converting a List Into a Grouped List
You may need to convert a flat list of items into a more structured list. - Merging Two Corresponding Lists
You may need to merge two lists that have corresponding items into one repeating element. - Coercions
In some situations, the datatype of a Scope Variables element may be undefined. In these situations, you may know the datatype of the element, and you can coerce the element into a specific type. Using the Coercions button in the Input tab toolbar you can create and manage your coercions.
Copyright © TIBCO Software Inc. All rights reserved.