MarkLogic 12 EA 2 Product Documentation
xdmp.prettyPrintxdmp.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"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.