Statement Menu Options

When you select an element in the function input schema and right-click, a menu appears. The Statement menu item contains several sub-items that are useful shortcuts for creating XSLT statements.

  • Surround with Choice — a shortcut for adding a choice statement and its associated conditions or otherwise statements around the currently selected element.
  • Surround with If — a shortcut for adding an if statement and placing the currently selected element as the sub-element of the if.
  • Surround with For-Each — a shortcut for moving the current element into a For-Each statement.
  • Surround with For-Each-Group — a shortcut for moving the current element into a For-Each-Group statement and adding a Group-By grouping statement.
  • Duplicate — a shortcut for creating a duplicate of the currently selected element (including any mappings or XPath formulas for the element). The duplicate is added below the currently selected element.
  • Insert Model Group Content — a shortcut for inserting the contents of a selected model group into the mapper tree. The selected element in the function input schema is replaced by the contents of the model group you select.