BI Publisher (MOSC)

MOSC Banner

Font color syntax in RTF Template

edited Dec 20, 2016 4:05AM in BI Publisher (MOSC) 1 commentAnswered

Hi All,

We have a requirement to fill the field based on the condition.

For ex:

-------

Empno

Ename

sal

12345

Paul

2000

7890

Dravid

10000

If sal=2000 then Ename should be Blue fill  and white font

If sal=10000 then Ename should be Green  fill  and Black font

I am using below code to fill the background color

<?if:sal=1000?><xsl:attribute xdofo:ctx="block" name="background-color">blue

</xsl:attribute><?end if?>

Please share syntax to change the font.

Thanks,

Visu

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center