Skip to main content

Administrating MarkLogic Server

Setting Output Options for an XDBC Server

For each XDBC 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.

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 XDBC 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 appears.

  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.