I didn’t see a place to submit comments in the guide like you can in the 
reference topics so I’m posting here.

In http://docs.marklogic.com/guide/xquery/langoverview#id_11626, in the section 
on the order-by clause, the syntax diagram shows the repeat returning to before 
the “order by” keyword. 

The correct syntax should have the repeat returning *after* the “order by” 
keyword and before the $varExpr 

That is, order by is:

order by expression1, expression2

not order by expression1, order by expression2

I also didn’t see any examples of order-by clauses with multiple 
expressions—that would be useful to have.

Cheers,

E.

--
Eliot Kimber
http://contrext.com
 



_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to