Skip to main content

Administrating MarkLogic Server

Adding a Schema Definition for a Group

To make a schema available to all HTTP, ODBC, or XDBC servers in a group, follow these steps:

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

  2. Click the group in which you want to define the schema.

  3. Click the Schemas icon on the left tree menu, under the specified group.

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

    schema_add_v10.gif
  5. 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, the following table lists the default location of the Config directory on each platform:

    Platform

    Schema Directory

    Microsoft Windows

    C:\Program Files\MarkLogic\Config

    Red Hat Linux

    /opt/MarkLogic/Config

    Mac OS X

    ~/Library/MarkLogic/Config/

  6. To add more schema definitions, click More Items and repeat Step 5.

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

The schema is added to the group.