[Bug 5630] Tuples and maps

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5630





------- Comment #3 from vladimir@nesterovsky-bros.com  2008-04-09 05:04 -------
To continue with use cases it's worth to mention that
the windowing (5609) can be solved with tuples,
through library or custom function:

window($items as item()*, $window-size as xs:integer) as tuple()*

Positional grouping in xquery (5608) can be solved using
a function calculating group boundaries and returning 
a sequence of tuples for these boundaries.

The other example is a node reference (5613), which
can be seen as tuple(node()?) - a tuple containing optional node.

Received on Wednesday, 9 April 2008 05:05:26 UTC