Item next;
SequenceIterator i = result.iterate(); Item next = i.nextItem(); boolean readNext = true;
	public Sequence eval(		DocumentSet docs,		Sequence contextSequence,		Item contextItem)		throws XPathException {		long start = System.currentTimeMillis();		MemTreeBuilder builder = context.getDocumentBuilder();		Receiver receiver = new Receiver(builder);		Sequence result =			super.eval(docs, contextSequence, contextItem);		start = System.currentTimeMillis();		try {			Item next;			StringBuffer buf = new StringBuffer();			for (SequenceIterator i = result.iterate(); i.hasNext();) {				next = i.nextItem();					// if item is an atomic value, collect the string values of all					// following atomic values and seperate them by a space. 					if(Type.subTypeOf(next.getType(), Type.ATOMIC)) {						if(buf.length() > 0)							buf.append(' ');						buf.append(next.getStringValue());					} else if(next instanceof NodeProxy){						if(buf.length() > 0) {							receiver.characters(buf);							buf.setLength(0);						}						next.toSAX(context.getBroker(), receiver);					}			}			if(buf.length() > 0)				receiver.characters(buf);		} catch (SAXException e) {			throw new XPathException("Encountered SAX exception while serializing enclosed expression: " +				pprint());		}		return result;	}