if - else condition in XML Publisher
Here is a small snippet of XML tags which tells you how to add if - else condition in XML Publisher RTF template.
Syntax for the same :
<?xdofx: if PRICE ='N' then '' else if DISCNT !='' then DISCOUNT else DISCOUNTAMT end if?>
Here:
- xdofx is for Extended function syntax.
- DISCOUNT and DISCOUNTAMT are the XML tags, which displays the values accordingly based on the if - else condition.
No comments:
Post a Comment