241242243244245246247248249250251
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,