
xdmp.redirectResponse( name as String ) as null
Redirects the App Server response to a given location.
In an isolated evaluation context (see xdmp.isIsolated), this function is not available and throws XDMP-ISOLATED.
| Parameters | |
|---|---|
| name | The redirect URL. |
xdmp.redirectResponse("http://marklogic.com/howtobuy.xqy");