Toolbar and Right-Click Menu on the Input Section

The Scope Variables panel and the Function panel have several buttons for performing various functions. There is also a popup menu when you right-click on elements in each panel. The following table describes the buttons and right-click menu items available in the panels of the Input tab.

Input tab toolbar buttons
Button Right-Click Menu Description
Scope Variables Panel
  Coercions. Allows you to specify a type for Scope Variables elements that are not a specific datatype. For example, a choice element can be coerced into one of the possible datatypes for the element, or an element of datatype any can be coerced into a specific datatype.
  Type Documentation. Allows you to specify or view documentation for schema elements.
  Expand This menu item has two sub-menus: Content and All. Expand > Content expands the current element so that all elements that are currently used in a mapping are visible. Expand > All expands all sub-elements of the currently selected element.
  Show Connected Expands the elements in the Function area to display elements that are mapped to the currently selected element or its sub-elements.
  Delete Deletes the selected element.
  Copy Copies the selected element. The element can be later pasted.
Function Panel
  Shows or hides the mapping formulas for the input elements.
  Move Up. Moves the selected element up in the Function tree.
  Move Down. Moves the selected element down in the Function tree.
Move Out Move Out. Promotes the selected element to the next highest level in the Function tree.
Move In Moves the currently selected element into a new statement. This displays the Move Into New Statement dialog that allows you to choose the statement you wish to move the element into. See XSLT Statements for more information about XPath statements.
Delete Deletes the mapping for the selected element. If no mapping is defined, the element itself is deleted (along with all child elements).
Note
 Elements are predefined. Do not delete elements. Deletion of an element causes mapper validation errors due to the mismatch of the right panel’s content with its schema.
  Insert. Click Insert to pop-up a New XSLT Statement dialog where you can define an XSLT statement. The statement is inserted in the function input schema on the same level of the hierarchy as the currently selected element.

You can add one XSLT statement at a time with this button. The right-click menu item Statement provides a shortcut for multi-line statements, such as Choice or If. See the description of the Statement menu item below for more information.

Note
 Elements are predefined. Do not add new elements. Doing so causes a mismatch of the right panel’s contents with its schema.

See XSLT Statements for more information about XSLT statements.

  Add Child. Adds a statement for a child element to the currently selected element.
  Mapper Check and Repair. Verifies the XSLT template you have created in the Function panel against the expected input. A list of errors and warnings appear and you can choose which items you wish to fix. TIBCO BusinessEvents attempts to fix simple problems such as adding missing items that are expected.

See Incorrect Mappings for more information.

  Edit Statement. Allows you to modify an XSLT statement for the element.

See XSLT Statements for more information about XSLT statements.

Edit XPath Formula Builder. Invokes the XPath formula builder. You can use this editor to create an XPath statement for this input element. See XPath Formula Builder For XPath 1.0 for more information about XPath and the XPath formula builder.
  Expand This menu item has three sub-menus: Content, Errors, and All. Expand > Content expands the current element so that all sub-elements that have a mapping or expression are visible. Expand > Errors expands the current element so that all sub-elements that have an error in their expression are visible. Expand > All expands all sub-elements of the currently selected element.
  Show Connected Expands the elements in the Scope Variables panel to display elements that are mapped to the currently selected element or its sub-elements.
  Statement This menu item contains shortcuts that allow you to easily add the desired XSLT statement(s) with one menu item instead of adding the statement(s) with the Insert button. See Statement Menu Options for a description of the sub-items of this menu.
  Undo operation Rolls back the last operation performed. The name of the last operation is shown.
  Redo operation Performs the last operation that was undone with the Undo menu item. The name of the last operation is shown.
  Cut Deletes the selected element. The element can be later pasted to a new location.
  Copy Copies the selected element.
  Paste Pastes the last element that was copied or cut.