Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 XQuery 中,我知道声明输出选项的语法,如下所示:
declare option xdmp:output "method=html";
如何在 SJS 模块中做同样的事情?
xdmp.setResponseOutputMethod()应该做同样的事情。看:
xdmp.setResponseOutputMethod()
http://docs.marklogic.com/xdmp.setResponseOutputMethod
希望有帮助,