Configuration 4 GNU (CFG)


Layout of a Class Definition File

Prev Adding Entities Next

The root element should be type-definitions. In side the type-definitions element there should be one or more type elements. Each type element corresponds to one type definition.

Here is a short example:

Example 4. A type definition file
<?xml version="1.0"?>

<type-definitions>
  <type name="date">
    <properties>
      <property name="month" minOccurs="1" type="builtin:integer">
        <name>Month</name>
      </property>
      <property name="day" minOccurs="1" type="builtin:integer">
        <name>Day</name>
      </property>
      <property name="year" minOccurs="1" type="builtin:integer">
        <name>Year</name>
      </property>
    </properties>
  </type>
</type-definitions>

Prev Up Next
Adding Entities Home Defining a type

SourceForge Logo