This main module controls the presentation of the code for either an entire mdoule or a particlur function within a module. The mainline function invokes only the method to retrieve the source code. The 'module' and 'function' parameters are extracted from the query-string. If only a 'module' is specified, then the source code for the entire module will be returned. If both a 'module' and a 'function' are specified, only the source code for the specified function within the module will be returned. A parameter of type xs:boolean is passed to indicate whether links on the page should be constructed to static HTML pages (for off-line viewing) or to XQuery scripts for dynamic real-time viewing.
Module URI | Function Name |
---|---|
http://marklogic.com/xdmp | add-response-header |
get-request-field | |
set-response-content-type | |
xqdoc/xqdoc-display | get-code-html |