To generate HTML documentation for an XQuery document similar with the Javadoc documentation for Java classes use the dialog XQuery Documentation. It is opened with the action -> -> (Ctrl+Alt+Q). It can be also opened from the Project Tree contextual menu: . The dialog enables the user to configure a set of parameters of the process of generating the HTML documentation. The parameters are: ->
The Input panel allows the user to specify either the File or the Folder which contains the files for which to generate the documentation. One of the two text fields of the Input panel must contain the full path to the XQuery file. Extensions for the xquery files contained in the specified directory can be added as comma separated values. Default there are offered xquery, xq, xqy.
Optional URI for the default namespace for the submitted XQuery if it exists.
Optional engine dependent, predefined namespaces that the submitted XQuery refers to. They allow the conversion to generate annotation information to support the presentation component's hypertext linking if the predefined modules have been loaded into the local xqDoc XML repository.
When checked, the generated documentation will be opened in an external browser.
Allows the user to specify where the generated documentation will be saved on disk.