return XPathUtil.javaObjectToXPath(values, null);
return XPathUtil.javaObjectToXPath(values, null, false);
	public Sequence eval(Sequence[] args, Sequence contextSequence)			throws XPathException {		RequestModule myModule =			(RequestModule) context.getModule(RequestModule.NAMESPACE_URI);		// request object is read from global variable $request		Variable var = myModule.resolveVariable(RequestModule.REQUEST_VAR);		if (var == null || var.getValue().getItemType() != Type.JAVA_OBJECT)			throw new XPathException(getASTNode(), "Variable $request is not bound to an Java object.");		// get parameters		String param = args[0].getStringValue();		JavaObjectValue value = (JavaObjectValue) var.getValue().itemAt(0);		if (value.getObject() instanceof RequestWrapper) {			String[] values = ((RequestWrapper)value.getObject()).getParameterValues(param);			if (values == null || values.length == 0)				return args[1];			if (values.length == 1)				return XPathUtil.javaObjectToXPath(values[0], null);			else				return XPathUtil.javaObjectToXPath(values, null);		} else			throw new XPathException("Variable $request is not bound to a Request object.");	}