I'm using MS Word to create rtf templates for Oracle BI Publisher.
My goal is to conditionally assign a color to the title in the header section. My xsl code looks like this:
<?if:DRUCKTITEL ="NICHT FREIGEGEBEN"?><xsl:attribute name="color">red</xsl:attribute><?end if?><?DRUCKTITEL?>
I expect the words "NICHT FREIGEGEBEN" to appear in red, however what I get is this:
It seems BI Publisher has a problem with changing font color even when the code gets interpreted as code.
I settled on a work around of putting text formatted in red in Word inside the if clause instead of the xsl-code. This works and while it looks weird in the layout it leads to the wanted result.