Within the Compute node named AddRunningTotal the following ESQL keeps a running total, and also adds a new element to each record showing the total sales so far.
To handle each row element, apply templates in process-cols mode, which loops over all the col-spec elements and again USES dyn: evaluate to compute the text that is output for each column.
The second type of processor element, the SPE, is optimized for running compute-intensive SIMD applications; it is not optimized for running an operating system.