Home » Developer & Programmer » JDeveloper, Java & XML » Can we use two or more values in when condition tag
Can we use two or more values in when condition tag [message #242290] Fri, 01 June 2007 08:47
world.apps
Messages: 70
Registered: January 2007
Location: Hyderabad
Member
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

Previous Topic: Forcing a page break programmatically in XML Publisher within an RTF template
Next Topic: java oracle database connection
Goto Forum:
  


Current Time: Fri Apr 19 14:09:08 CDT 2024