Creating a variable slice

There are two types of slice, standard and variable. You can create both types in the New Slice dialog.

To create a variable slice requires an XML variable with a specific structure. There are a number of functions that you use to create an XML variable with the correct structure. Each function is described in a separate topic.

To see the required structure of the XML variable, you can create a standard variable, select it in the Accessories pane, and copy its XML definition from the Advanced section of the Properties pane.

To create a variable slice:

  1. In Design mode right-click Slices in the Accessories pane and select New Slice.
  2. Select Variable Slice as the type of slice.
  3. Specify a name for the slice and, optionally, a description.
  4. Select the variable that contains the slice definition and click OK.