</pre>
Window clauses extend FLWOR clauses by generating provide a rich set of variable declarations to process sub-sequences of the iterated tuples. More information can be found in the [http://www.w3.org/TR/2013/CR-xquery-30-20130108/#id-windows specification]. An example:
<pre class="brush:xquery">
return <window>{ $w }</window>
</pre>
More information on window clauses, and all other enhancements, can be found in the [http://www.w3.org/TR/xquery-30 XQuery 3.0 Candidate Recommendation].
==Simple Map Operator==