NodeList args = getLeft().eval(dset, set, node).getNodeList(); rvalue = getRight().eval(dset, set, node).getNumericValue();
NodeList args = getLeft().eval(context, dset, set, node).getNodeList(); rvalue = getRight().eval(context, dset, set, node).getNumericValue();
	public Value eval(DocumentSet docs, NodeSet context, NodeProxy node) {		if(getLeft().returnsType() == Constants.TYPE_NODELIST) {			DocumentSet dset = new DocumentSet();			NodeSet set = new ArraySet(1);			set.add(node);			dset.add(node.doc);			ValueSet result = new ValueSet();			double rvalue, val;			NodeList args = getLeft().eval(dset, set, node).getNodeList();			rvalue = getRight().eval(dset, set, node).getNumericValue();			for(int i = 0; i < args.getLength(); i++) {				try {					val = applyOperator(Double.parseDouble(args.item(i).getNodeValue()), rvalue);					if(val != Double.NaN)						result.add(new ValueNumber(val));				} catch(NumberFormatException nfe) {				}			}			return result;		}		return new ValueNumber(Double.NaN);	}