Discussion:
[xquery-talk] Checking a collection for more or last
Ihe Onwuka
2014-06-19 00:23:11 UTC
Permalink
Aside from counting the nodes a priori and then comparing as you iterate,
is there any other way of checking to see if you are on the last node in a
collection.

As I read the docs the following axes and last() are not operative across
documents (i.e at the collection level).

Loading...