Question

Locked

Can we use two or more values in XML when condition tag

By world.apps ·
Hi,

I am learning XML Publisher. Please help me in this.


Here I am using two tables to print data from RTF file.
Table:1
Invoice Date Amount
ForEachINV INVDATE INVAMT
choose
when inv_num
INVNUM
end when
End foreachinv

Table:2
Invoice Date Amount
ForEachINV INVDATE INVAMT
choose
when inv_num
INVNUM
end when
End foreachinv

->For first table in when condition I am using
<?when:INVNUM=10000-1,10000-2?>
It needs to render the first table and fill all the details.

->For Second table in when condition I am using
<?when:INVNUM=10000-3,10000-4?>

If this condition is met it has to render the second table and fill the all information.


When i am using one value in when condition i am getting the output. But when i use more than two or more values i am not getting the output.

Can we use two or more values in when condition?
or
Can we do it through if conditions?

Could anyone help me in this?

Thanks in advance

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Peripheral Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums