Edit CML or XML in a template

You can edit the CML or XML of your template in the Content view. The template editor provides editing operations and syntax highlighting as described below.

To edit the CML or XML of your template:

  1. From the SA Client navigation pane, select Library and then select the By Type tab.
  2. Locate and open the Application Configuration node. Open the Templates node. Open the operating system group and select the operating system where the template file is located. Note that a template can apply to multiple operating systems.
  3. Select a template.
  4. Select the Actions > Open menu or right-click and select the Open menu or press the Enter key. This displays the Templates screen showing the selected template.
  5. Select the Content view. This displays the contents of your template.
  6. Enter your CML or XML text directly in the template editor.

    The CML syntax is highlighted in colors to make reading it easier:
    • Green: CML instructions are displayed in green. CML key words are in bold green.

    • Blue: Variables that will be replaced by actual values from the value set are displayed in blue.

    • Black: Fixed text is displayed in black.

    • Gray: Comments are displayed in gray.

       

    The CML editor also provides the following editing operations:
    • Right-click in the CML text and use the cut, copy and paste operations.
    • The Actions menu provides find, replace, undo and redo operations.
    • The Validate button and the Actions > Validate menu check the syntax of your template and report any errors.

For more information on CML and XML, see CML Reference and Managing XML configuration files.