BI Publisher : How to do a select case (switch case) in XML, in a RTF model
780464Aug 30 2010 — edited Sep 8 2010Hi,
I am building a RTF with word to make a report with BIPuplisher. I Have a subtemplate call to do in the footer depending on the value of a field. (var),
because of the footer restriction I cannot use the Conditionnal region function as usually. I am contrain to write the xml correspondance which is not a problem.
Here is my problem : when I use 5 call:template between the <?if?> and <?end if?> tags the result is that I have in the footer of my report 4 white lines and the subtemplate corresponding to my var....
I Don't want the white lines appear if the conditionnal is not True. because my footer'd become too big...
I thought that a select case in xml could help me but the only syntaxe I found doesnt work because I am using the <?call:template?> into the <?if then else?> tag....
do you have a solution for me? is my request possible? thanks a million.