Sequence arg = getArgument(0).eval(docs, contextSequence, contextItem);
Sequence arg = getArgument(0).eval(contextSequence, contextItem);
	public Sequence eval(DocumentSet docs, Sequence contextSequence, Item contextItem)		throws XPathException {		Sequence arg = getArgument(0).eval(docs, contextSequence, contextItem);		if (arg.getLength() == 0)			return Sequence.EMPTY_SEQUENCE;		SequenceIterator iter = arg.iterate();		AtomicValue min = (AtomicValue) iter.nextItem();		AtomicValue current;		while (iter.hasNext()) {			current = (AtomicValue) iter.nextItem();			if (current.getType() == Type.ATOMIC)				current = current.convertTo(Type.DOUBLE);			if (Type.subTypeOf(current.getType(), Type.NUMBER)				&& ((NumericValue) current).isNaN())				return DoubleValue.NaN;			min = min.min(current);		}		return min;	}