Conditional Formatting task pane

The Conditional Formatting task pane allows you to customize the formatting of XML data in a Data View. You can specify whether data is displayed or hidden and how it is displayed based on conditions that you set. For more information, see Apply conditional formatting to a Data view.

Conditional Formatting task pane

Cc295535.51b030a3-e813-4c55-a7be-b51e1e04c91b(en-us,Expression.10).bmp

  1. To create a condition, click Create and then click one of the following options:

    • Show content changes the visibility of a selected HTML tag or data value that meets certain criteria.

    • Hide content changes the visibility of a selected HTML tag or data value that meets certain criteria.

    • Apply formatting applies a style to a selected HTML tag or data value that meets certain criteria.

    Each choice opens the Condition Criteria dialog box, where you can specify the condition you want to cause the formatting change.

    Tip

    To activate the Create button, in Design view, select text in a Data View.

  2. Existing conditions lists the conditions for which you specify formatting. Click a condition to modify or delete it.

  3. Click Set Visibility to specify whether your formatting conditions are visible in Design view.

See also

Concepts

XML overview

Apply conditional formatting to a Data view