Function Argument Mapping Wizard for XPath 1.0
Using the Function Argument Mapping wizard for XPath 1.0 you can map the source data to the input arguments of the mapper function. The wizard consists of two sections: Function and Input.
Function Section
The function section, in the upper part of the dialog, shows the view-only name of the function you are working with and the editable entity path to the item whose properties and attributes you want to map to the function arguments.
Input Section
In the input section, there are two panels:
- Scope Variables Panel
The scope variables panel shows the list of properties and attributes available to the function, as well as global variables defined in the project.
- Function Panel
The function panel uses an Extensible Stylesheet Language Transformation (XSLT) template that specifies how scope variables should be transformed to provide the expected input. Normally, you do not need detailed knowledge of XSLT to specify a function’s expected output. However, if you are familiar with XSLT and you wish to see the actual code, you can right-click on any item in the Function panel and choose Copy from the popup menu. Then open a blank text document and choose Paste. The XSLT is displayed in your text document.
You can also use your own XSLT templates to perform transformations instead of using the techniques described in the following sections. You can paste XSLT into your function input fields, or into the XPath Formula field in XPath Formula Builder. You cannot, however, paste XSLT directly into the function argument in the rule editor.
The Input tab consists of several toolbar buttons, popup menus, and icons to help in performing mapping of data for XPath 1.0. See Buttons Menus and Icons.