W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2008

[Bug 5630] Tuples and maps

From: <bugzilla@farnsworth.w3.org>
Date: Wed, 09 Apr 2008 05:04:53 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JjSUP-000777-66@farnsworth.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:52 GMT