Home >Online Product Documentation >Table of Contents >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.
Stylus Studio displays the XPath Editor dialog box.
if (rating = 'R') then 'red' else ""
Notice Stylus Studio's Sense:X auto-completion and text coloring as you type.
if (rating = 'R') then 'bold' else ""
Our report now looks like this: