Displaying page number only at the last page in RTF
In XML Publisher, I need to display message only at the last page of my PDF. Suppose if I have two invoice, the message should be displayed only at the end of 2nd invoice.
Am using for-each@section in my RTF for repeating the header based on invoice and am placing the message after end for-each loop. Even then am getting the message repeated for all my invoices.
Please help me with this. And also please let me know why am I getting message for all the invoices even after I have closed the loop.
PFA the sample RTF and xml data.