BI Publisher: How to make the cell color controlled by color code from XML data
I am using the BI Publisher in Oracle eBusiness Suite R12.2.
There have been many questions about controlling the cell color and answers too. But the color name/code is hardcoded in the RTF template.
<xsl:attribute xdofo:ctx="block" name="background-color">#F8CBAD</xsl:attribute>
In my case, the color code is coming from a front-end setup & derived to the XML data.
I want the color to be controlled dynamically by that color code - <LEGEND_COLOR>#F8CBAD</LEGEND_COLOR>
If I try the following, it's printing the cell background black (#000000) & prints data in the cell.
<xsl:attribute xdofo:ctx="block" name="background-color"><?LEGEND_COLOR?></xsl:attribute>