public class ConsolidateDescandantChild
The rule searches for assign operator with an aggregate function expression
immediately following an aggregate operator with a sequence expression.
XQuery aggregate functions are implemented in both scalar (one XDM Instance
input as a sequence) and iterative (a stream of XDM Instances each one is