- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Tue, 1 Jul 2003 10:32:45 +0100
- To: Stephen Buxton <stephen.buxton@oracle.com>
- CC: public-qt-comments@w3.org
Hi Stephen, > *Functions and Operators, Section 15.4.5 fn:collection* > > It would be nice if there were some way, using fn:collection, to get > metadata (eg document name) alongside nodes, probably in a sequence > of tuples or a tuple of sequences. XPath/XQuery doesn't have the notion of "tuple"; the best that collection() could do is return a sequence in which document names and document nodes alternated, and that would be messy, particularly in terms of typing. Instead, you have to capture the sequence of document nodes in a variable and use other functions to access information about them. I don't think that this is too onerous. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
Received on Tuesday, 1 July 2003 05:32:54 UTC