MarkLogic 12 EA 1 Product Documentation
xdmp:set-response-content-type

xdmp:set-response-content-type(
   $name as xs:string
) as empty-sequence()

Summary

Sets the response content-type.

Parameters
name The content type.

Example

xdmp:set-response-content-type("text/html")
Powered by MarkLogic Server | Terms of Use | Privacy Policy