result = (NodeSet) pred.eval(context, documents, (Sequence) result);
result = pred.eval(documents, result);
	protected NodeSet applyPredicate(		StaticContext context,		DocumentSet documents,		NodeSet contextSet)		throws XPathException {		Predicate pred;		NodeSet result = contextSet;		for (Iterator i = predicates.iterator(); i.hasNext();) {			pred = (Predicate) i.next();			result = (NodeSet) pred.eval(context, documents, (Sequence) result);		}		return result;	}