BaseXdb/basex — pull request #424 by LeoWoerteler (2012-03-09 17:30:58+00:00)
Title: [ADD] XQ 3.0: added grouping by expression instead of variable

```xquery
for $i in 1 to 10
group by $g := $i mod 2
return {$i}
```

Also tested QT3TS and BaseX-API.