If Like statement in the RFT template
Hi All,
We have a requirement to build a RTF Template, where we have to specify a condition as where in an XML Field (Reporting Name) has a word deduction then show the corresponding value (amount) else end. I have tried to use the contains statement but getting an error.
We are working on Fusion 11.
Could anyone please help.
<?if@inlines:xdoxslt:get_variable($_XDOCTX, 'TRANS') = 1 and REPORTING_NAME_ALT_LANG !=''?>
<?REPORTING_NAME_ALT_LANG?>
<?end if?>
<?if@inlines:xdoxslt:get_variable($_XDOCTX, 'TRANS') = 1 and REPORTING_NAME_ALT_LANG =''?>
<?REPORTING_NAME?>
<?end if?>
<?if@inlines:xdoxslt:get_variable($_XDOCTX, 'TRANS') = 0?>