Conditional Watermark in RTF template not working
Hi All,
Conditional Watermark in RTF template not working. We have a requirement to print conditional Watermark in PDF output pages based on different XML Tag value.
Currently Watermark is getting printed on all pages even when condition is not met.
We are using Below code-
<xsl:variable name="wMark" select="xdoxslt:ifelse(./CF_ERS_SUPPLIER='Y','ERS Do Not Invoice',xdoxslt:ifelse(./CF_DUPLICATE='Y','Duplicate ','')) "/>
So the requirement is if value of CF_ERS_SUPPLIER is 'Y' then watermark to be printed is 'ERS Do Not Invoice' and if value of CF_DUPLICATE is 'Y' then it should print 'Duplicate'.