Equivalent of LIMIT

Hello,
What is the equivalent of the limit keyword in xquery?
Thanks in advance,
Julien Martin.

Software AG Spain

Hi Julien,

I am not acquainted with the limit keyword,
please elaborate.

Regards,
Juliane.

Hi,

in the meantime I have learned about limit and as far as I
understood, the equivalent in XQuery is to enclose the whole
query in round brackets and using a predicate, e.g. :

let $limit := …int…
(…query…)[position() <= $limit]

Regards,
Juliane.