Modifying the XML Style File

To add custom colors and images to a style, you edit the style.xml file.

The changes you make in style.xml only affect the appearance of IBM® Cognos® Connection and Cognos Administration.

Procedure

  1. In an XML or text editor, open the style.xml file located in the c10_location\temp directory.
  2. Customize the style by modifying the following sections. For example, to define a custom color palette, modify the values in the palette section.
    Table 1. XML style file sections you can modify

    Section

    Description

    <palette></palette>

    Defines the color palette. The palette element in this file controls color settings at a global level. If you want to make changes at a more granular level, modify each specific class of objects without modifying this element.

    <colors></colors>

    Maps a style element, such as table text, to a color defined in the color palette, such as black.

    <images></images>

    Specifies the name and location of image files.

    <values></values>

    Defines other style values that are likely to change.

  3. Save your changes.

    After saving your changes, use the style management utility to generate files for the style and publish it to your users.