Java Doc for Aggregate.java in » XML » saxonb » net » sf » saxon » functions » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Get the number of items in a sequence identified by a SequenceIterator
Parameters: iter - The SequenceIterator. This method moves the current positionof the supplied iterator; if this isn't safe, make a copy of the iteratorfirst by calling getAnother(). The supplied iterator must be positionedbefore the first item (there must have been no call on next()). the number of items in the underlying sequence throws: XPathException - if a failure occurs reading the input sequence