BI Publisher (MOSC)

MOSC Banner

BI Publisher If else not working

edited Jun 20, 2018 10:36AM in BI Publisher (MOSC) 11 commentsAnswered ✓

Hi All,

I am trying to compare couple of fields on a RTF template and if they are different I am trying to display the different fields in bold. I am using the if else condition of BI publisher none of my conditions are working. I can get the output only of an if condition. If I use if else it is not working.

Working condition:

<?if:DEPTID=DEPTID?><xsl:attribute xdofo:ctx="block" name="font-weight">bold</xsl:attribute><?DEPTID?><?end if?>

If I use not equal to it is only displaying the differences which is expected as per the code. But I want to compare and display all the fields but the ones with changes should be in bold.

Tagged:

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