Skip to main content

Administrating MarkLogic Server

Adding a Schema Definition for an HTTP, ODBC, or XDBC Server

To make a schema available to a particular HTTP, ODBC, or XDBC server, follow these steps:

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

  2. Click the name of the group which contains the HTTP, ODBC, or XDBC server to which you want to add a schema.

  3. Click the App Servers icon.

  4. Click the name of the App Server to which you want to add a schema.

  5. Click the Schemas icon on the left tree menu, under the specified App Server.

  6. Click the Add tab. The Add Schemas page appears:

    schema_add_v10.gif
  7. Enter a namespace URI into the Namespace URI field and the corresponding schema location into the Schema Location field.

    If you are planning to store the schema in your config directory, refer to the following table for the default location of the config directory on your platform:

    Platform

    Schema Directory

    Microsoft Windows

    C:\Program Files\MarkLogic\Config

    Red Hat Linux

    /opt/MarkLogic/Config

    Mac OS X

    ~/Library/MarkLogic/Config/

  8. To add more schema definitions, click More Items and repeat Step 7 for other schemas as needed.

  9. Scroll to the top or bottom and click OK.

The schema is added to the HTTP, ODBC, or XDBC server.