Associate an XdmVariable with this Request. When an invocation of Session.submitRequest(Request) is made, all currently set variables are sent with the request and defined as XQuery external variables when the query runs in the server.
If another variable with the same name is already set, it is replaced. Note that XName instances with the same namespace/local name values are considered to be equal.
Request Interface | Marklogic.Xcc Namespace