<div dir="ltr"><div>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.<br><br></div><div>As I read the docs the following axes and last() are not operative across documents (i.e at the collection level).<br>
</div></div>