Skip to main content

Administrating MarkLogic Server

Setting Output Options for an HTTP Server

For each HTTP Server, you can set various default output options. These output options affect how data returned from the App Server is serialized. You can also set these options at the query level to override any default options. You can set serialization options to override the App Server defaults in XQuery with the declare option XQuery prolog, and in XSLT using the <xsl:output> instruction. For details on setting the serialization options in XQuery, see Declaring Options in the XQuery and XSLT Reference Guide. For XSLT output details, see the XSLT specification http://www.w3.org/TR/xslt20#serialization.

To specify defaults for the App Server, follow these steps:

  1. Click the Groups icon in the left tree menu.

  2. Click the group which contains the HTTP server you want to view (for example, Default).

  3. Click the App Servers icon on the left tree menu.

  4. Select the App Server to edit.

  5. Select the Output Options link in the left tree menu. The Output Options Configuration page displays.

  6. Set any options that you want to control for this App Server.

  7. Click ok to save your changes.

For more details about App Server output, see Controlling App Server Access, Output, and Errors in the Application Developer's Guide.