Show TOC

Defining the Data SchemaLocate this document in the navigation structure

Use

In the data schema, you define the structure of the elements in which the system stores the data in the XML file. You can assign the elements of the data schema to namespaces following the XML standard.

Example

For example, the data schema for news items can contain the following elements:

<+> News Item

< >Title

< > Image

< > Summary

< > Body text

Procedure

Perform all the steps described below on the Data Model tab page.

  1. Create data schema elements in a tree structure.

    Choose the following functions in the context menu for the elements below the DataSchema node:

    • Add Subordinate Object (only available for elements of type sequence )

    • Add Sibling Node

    • Rename Node

    • Delete Node

      Note

      You can move the elements within the data schema using Drag&Drop.

  2. Optional: Create namespaces.

    In the context menu of the Namespaces node, choose the Add Namespace command.

  3. Optional: Assign the elements of the data schema to namespaces.

    Select an element in the tree view and select a namespace in the element details.

  4. Optional: Assign data types to the elements of the data schema.

    For more information, see Defining the Data Types of Schema Elements .

  5. Optional: Define a minimum and maximum length for schema elements of data type String and use regular expressions to limit the valid value set.

    For more information, see Defining Data Lengths and Patterns .