reference xdoxslt get_variable in xdofx
949977Jul 17 2012 — edited Jul 17 2012BI Publisher 10.1.3.4
I have a field at the top of my RTF which sets the total number of Trucks
<?xdoxslt:set_variable($_XDOCTX,'TotalTrucks',sum(repeat_trucks_sum))?>
I now wish to use this variable within a XDOFX tag further down the report
I cannot seem to even multiply the variable by 100 as below
<?xdofx:to_number(xdoxslt:get_variable($_XDOCTX,'TotalTrucks')))*100?>
There is no error, just a blank value in the report.
Basically how do I reference variables created using xdoxslt:set_variable within a xdofx tag.
Thanks