Loading TOC...

MarkLogic Server 11.0 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")

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.