BI Publisher (MOSC)

MOSC Banner

How to call variables in conditional formatting elements ?

I search how to call a variable holding color label in conditional formatting. This is working: <?if:ADVICE='CRITICAL'?><?attribute@:color;'Red'?><?end if?>
I tried:
<?xdoxslt:set_variable($_XDOCTX, 'DgBkColor', ’Red’)?>
...
<?if:ADVICE='CRITICAL'?><?attribute@:color;xdoxslt:get_variable($_XDOCTX, 'DgBkColor')?><?end if?>

But does not work...

The following does not work anymore:
<?xdoxslt:set_variable($_XDOCTX, 'DgBkColor', " ’Red’ " )?>

Regards

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