Home >Online Product Documentation >Table of Contents >Format Data Conditionally
Format Data Conditionally
The last action we will perform on the table is to write an XPath expression to display the `R' rating for movies in a bold red.
24. Click the rating glyph.
25. In the Properties window, expand the Default Color property.
26. Click the
XPath field, and then click the "more" button (

).
Stylus Studio displays the XPath Editor dialog box.
27. Type the following XPath expression:
Notice Stylus Studio's Sense:X auto-completion and text coloring as you type.
|
Figure 531. XPath Editor Dialog Box
28. Click OK.
29. Next, use the same process to enter this XPath expression for the Bold property:
30. Click
Preview (

).
Our report now looks like this:
|
Figure 532. Finished Example Report