Issue with to Calculate the Total in XML publisher Report
I have issue with to calculate the Total for line_amount in my report. Could you help me please?
I have tried so many following things but its not getting correct result or errors. Or How can I calculate the Total for multiple lines.
I am using word rtf template and xml file(based on PO oracle report). I am using oracle 11.5.10.2., MS Word 2010.
1. <?sum(LINE_AMOUNT)?>
2. <?sum(replace(LINE_AMOUNT,',',''))?>
3. <?xdofx:sum(replace(replace(LINE_AMOUNT, '.', ''), ',', '.'))?>
4. <?xdoxslt:set_variable($_XDOCTX, 'TOTAL',xdoxslt:get_variable($_XDOCTX,'LINE_AMOUNT') + TOTAL)?>