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. Log into the Admin Interface.

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

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

  4. Click App Servers. to expand the heading.

  5. Underneath App Servers, click the App Server to expand the heading

  6. Underneath the App Server heading, click Output Options. The Output Options page appears:

    Screenshot of the Output Options page.
  7. Set any options that you want to control for this App Server.

  8. 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.