235236237238239240241242243244245
if (action == null) { // body of for-each is empty: it's a no-op. return new Literal(EmptySequence.getInstance()); } try { return new ForEachGroup( select, makeExpressionVisitor().simplify(action), algorithm, key, collator, collationName,