On 03/11/2011 03:38, Joe Wicentowski wrote:
let $reordered := <Library>{ for $article in $library/Article group $article as $journal-articles by $article/Journal as $journal
It's rather regrettable that

(a) XQuery 1.0 provides no grouping capability

(b) The above syntax does not match the "group by" clause specified in any XQuery 3.0 working draft

(c) The XQuery spec is very tolerant of processors providing their own extensions to the syntax in the W3C recommendation

(d) Many processors have taken advantage of this tolerance, and have implemented syntactic extensions which will turn out to be incompatible with future versions of the standard.

Michael Kay
Saxonica
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to