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).
_______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
