Data Schema
Documents of a particular type are often structured similarly. In other words, they are made up of the same kinds of elements. For example, a news item always has a title, a source, a short text, and a main text.
You use a data schema to define XML elements in which the content of your forms is stored. The data schema represents the content structure of your data, and is separate from the structure of your forms.
You can use the following functions:
· Add Child
Creates a new element on the subordinate level. This function is only available for sequence type elements.
· Add Sibling Node
Creates a new element on the same level.
· Rename Node
· Delete Node
You can move the elements within the data schema using Drag&Drop.
You can validate the user entries by assigning data types to the elements of the data schema (see Data Types of Schema Elements).
When you create a new project, you can choose whether you want to use the data schema of another project as a template. When you select a project, its data schema is copied to the new project.
Available functions can be found in the context menu that you reach using the alternate mouse key.
The data schema for news items can have the following elements:
<+> New Item
< >Title
< > Source
< > Short text
< > Main text
This is the structure that is used when a news item is stored in an XML file. The contents of the elements can be created and displayed in different ways. For example, the title of a news item can be created in an Edit form, and displayed as a heading on a Show form, or as a list entry on a ListShow form.