Please note: this project is inactive since early 2006

 
2.5.1 Overview of the xml

Before going into details, here is the skeleton of an xml-model:

<?xml version='1.0' encoding='iso-8859-1'?>
<model ...>
  <entity ...>
    <primaryKey attributeName='...'/>
    <attribute .../>
    <relation ...>
      <join .../>
    </relation>
  </entity>
  <entity ...>
    ...
  </entity>
</model>

A complete template is provided at the end of the chapter, in section 2.5.6.

Each of the xml elements <model>, <entity> etc. has its own set of attributes, as indicated by the ellipses found in the xml elements above. The following subsections describe each element in detail.

Note: every value associated to a xml attribute should be a string. It is automatically converted to the right type when the model is loaded.

Comments are welcome: Sebastien Bigaret / Modeling Home Page
Hosted by:SourceForge.net Logo