Conditionally Highlighting a Row Does Not Work in HTML, EXCEL or RTF Output (Doc ID 836254.1)

Last updated on JUNE 22, 2016

Applies to:

BI Publisher (formerly XML Publisher) - Version 5.6.2 to 5.6.3 [Release 5]
Information in this document applies to any platform.

Symptoms

Using XML / BI Publisher 10.1.3.4 and trying to implement "Conditional Formatting" as described in the following manual:

Oracle Business Intelligence Publisher
Report Designer's Guide
Release 10.1.3.4
Part No. E12187-01

In Chapter 7, page 7-69 there is a method Conditionally Highlighting a Row

Using the following code from the manual:

<?if@row:position() mod 2=0?>
<xsl:attribute
name="background-color"
xdofo:ctx="incontext">lightgray</xsl:attribute><?end if?>

It only works in PDF output format and does not work for HTML, EXCEL or RTF.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms