xdmp:set-response-output-method( $method as xs:string ) as empty-sequence()
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.
|
xdmp:set-response-output-method("n-triples");
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.