Convenience method that creates a new XdmVariable, binds it to this Request and then returns the new XdmVariable object. This method is equivalent to:
XdmVariable temp = ValueFactory.newVariable (
ValueFactory.newXName (namespace, localname),
ValueFactory.newValue (type, value));
request.setVariable (temp);
return temp;
The newly construct XdmVariable instance.
Request Interface | Marklogic.Xcc Namespace | Request.SetNewVariable Overload List