* Return an iteration over the result sequence
*/
public SequenceIterator iterate(XPathContext c) throws XPathException {
if (operation==CURRENT_GROUP) {
GroupIterator gi = c.getCurrentGroupIterator();
if (gi==null) {
return EmptyIterator.getInstance();
}
return gi.iterateCurrentGroup();
} else {
return super.iterate(c);
}
}