A question came through today: what is the syntax for a logical OR in a BI/XML Publisher IF statement?
The standard BI Publisher “IF” statement doesn’t seem to cut it.
Lets say I want a test:
if (a=1 or a=2) then output_my_stuff end if
I don’t want to have to repeat output/logic like:
if(a=1 or a=2 or a=3) then tag_should_be_exe end_if
A solution is to use if statement structure. So we have:
<?if:GRADE=’1′ or GRADE=’2′ or GRADE=’3′ or GRADE=’4′?>
<?end if?>
If it works use it!
