Loading TOC...

xdmp.prettyPrint

xdmp.prettyPrint(
   $xquery as String
) as String

Summary

Returns a well-formatted XQuery module.

Parameters
$xquery An XQuery module to be reformatted.

Example

xdmp.prettyPrint("for $x in 1 to 10 return $x");
=> "for $x in 1 to 10
    return $x"

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy