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 Groups in the left tree menu. A list of groups appears.

  2. Click your target group.

  3. Under the target group, click App Servers.

  4. Click your target App Server.

  5. Under the target App Server, click Schemas

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

  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.