So the devil lies in the fact that an initial clause is an intermediate clause.
Well eXist certainly doesn't allow the let. unexpected token: let (while expecting closing tag for element constructor: counts) On Tue, Jan 7, 2014 at 12:59 PM, Ihe Onwuka <[email protected]> wrote: > Hang on I might have read that wrong ...not sure now. > > > On Tue, Jan 7, 2014 at 12:56 PM, Ihe Onwuka <[email protected]> wrote: > >> That does not allow for an initial clause to follow an intermediate >> clause. >> >> >> On Tue, Jan 7, 2014 at 12:45 PM, John Snelson <[email protected] >> > wrote: >> >>> On 07/01/14 12:39, Michael Kay wrote: >>> >>>> Yes, I was surprised to see that a "let" clause isn't allowed after an >>>> order-by or group-by. I don't remember the reasons for that. >>>> >>> >>> A let clause _can_ be used after an order by or group by clause in >>> XQuery 3.0: >>> >>> http://www.w3.org/TR/xquery-30/#prod-xquery30-FLWORExpr >>> >>> I suspect this is just unimplemented in eXist. >>> >>> John >>> >>> -- >>> John Snelson, Lead Engineer http://twitter.com/jpcs >>> MarkLogic Corporation http://www.marklogic.com >>> _______________________________________________ >>> [email protected] >>> http://x-query.com/mailman/listinfo/talk >>> >> >> >
_______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
