How to Add Parameters to an Existing Named Template

To add parameters to an existing named template:

  1. Ensure that the named template appears in the XSLT Map Editor. To switch to the named template, select the name of the named template from the drop-down list in the XSLT toolbar. See Figure 41-47 for an example.
  2. Right-click a source node and select Add Parameter from the context menu. Alternatively:
    • Right-click in a blank area on the canvas (center) pane, and select Create > Add Parameter from the context menu.

    • Click the Add button, identified by the green plus (+) icon, on the XSLT toolbar. Select Add Parameter from the drop-down list that appears.

  3. Specify a name for the parameter, and other details, in the Add Parameter dialog. Click the Help button in the dialog to get more information on the individual fields.
  4. Click OK in the Add Parameter dialog to add the parameter.