Loading TOC...

xdmp:set-response-output-method

xdmp:set-response-output-method(
   $method as xs:string
) as empty-sequence()

Summary

Sets the serialization method. This overrides any output option set in the xdmp:output XQuery prolog option.

Parameters
$method The serialization method. These are the same strings as used in the xdmp:output XQuery prolog option. For a list of the options, see xdmp:output in the XQuery and XSLT Reference Guide.

Example

xdmp:set-response-output-method("n-triples");

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