Mapping and Transforming Data to Function Input
("")
to a field in a mapper function results in a null string.
To map data, select an item in the Scope Variables panel, then drag and drop that item into the desired schema element in the Function panel.
Simple mappings appear in the formula area to the right of the input element after you release the mouse button. For more complex mappings, click the
Edit Statement
icon (XPath 1.0) or
Show/Hide Edit Tab
icon (XPath 2.0).
Most options in the Edit Statement dialog are straightforward. However, there are some complex scenarios that require multiple steps.
You may also wish to refer to XSLT Statements for a reference of XSLT statements when deciding which XSLT statement can be used to achieve the result you desire.
You can specify XPath formulas to transform an element if you need to perform more complex processing. The XPath Formula Builder allows you to easily create XPath formulas. For more advanced use of XPath, see XPath Formula Builder For XPath 1.0. There are also a variety of third-party books and resources about XSLT and XPath.
The datatypes of the function’s arguments display as hints. Once a mapping or formula is specified, a hint becomes an XSLT statement. See Statements Hints and Errors for more information about hints and statements.