Summary
Conditional formatting in XML rtf Template (want to format the cell to red color when total is < 0)
Content
Hi,
I want to conditionally format the cell to red color when when the total is < 0. I used the below tag, it is giving me error "Caused by: oracle.xdo.parser.v2.XSLException: <Line 136, Column 100>: XML-22047: (Error) Invalid instantiation of 'Attribute' in 'Element' context.".
Tag used:
<?if:CF_DELTA_BG_TOT<0?>
<xsl:attribute xdofo:ctx="block" name="background-color">red</xsl:attribute><?end if?>
Appreciate help.
Screenshot below. (output type : excel)

Thanks
Sreedhar