Schema expxml.xsd


schema location:  expxml.xsd
 
Elements 
ABSTRACT 
Attribute 
Attribute.Aggregate 
Attribute.Type 
Comment 
ENTITY 
ENTITY.Attributes 
ENTITY.SubtypeOf 
ENTITY.SupertypeOf 
ENTITY.Supertypes 
Express 
Inverse 
Inverses 
OPTIONAL 
SCHEMA 
SCHEMA.Comment 
SCHEMA.Name 
supertype_one_of 
TYPE 
TYPE.Aggregate 
TYPE.EnumItem 
TYPE.EnumList 
TYPE.SelectItem 
TYPE.SelectList 
TYPE.Type 


element ABSTRACT
diagram
used by
element ENTITY.Supertypes
source
<xs:element name="ABSTRACT">
  <xs:complexType/>
</xs:element>

element Attribute
diagram
children OPTIONAL Attribute.Aggregate Attribute.Type
used by
element ENTITY.Attributes
attributes
Name  Type  Use  Default  Fixed  
Name  xs:NMTOKEN  required      
source
<xs:element name="Attribute">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="OPTIONAL" minOccurs="0"/>
      <xs:element ref="Attribute.Aggregate" minOccurs="0"/>
      <xs:element ref="Attribute.Type"/>
    </xs:sequence>
    <xs:attribute name="Name" type="xs:NMTOKEN" use="required"/>
  </xs:complexType>
</xs:element>

element Attribute.Aggregate
diagram
used by
elements Attribute Inverse
attributes
Name  Type  Use  Default  Fixed  
Type  xs:NMTOKEN  required      
Lower  xs:string  required      
Upper  xs:string  required      
source
<xs:element name="Attribute.Aggregate">
  <xs:complexType>
    <xs:attribute name="Type" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="LIST"/>
          <xs:enumeration value="SET"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Lower" type="xs:string" use="required"/>
    <xs:attribute name="Upper" type="xs:string" use="required"/>
  </xs:complexType>
</xs:element>

element Attribute.Type
diagram
used by
element Attribute
attributes
Name  Type  Use  Default  Fixed  
Name  xs:NMTOKEN  required      
Width  xs:int        
Fixed  xs:boolean        
source
<xs:element name="Attribute.Type">
  <xs:complexType>
    <xs:attribute name="Name" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="BOOLEAN"/>
          <xs:enumeration value="INTEGER"/>
          <xs:enumeration value="LOGICAL"/>
          <xs:enumeration value="REAL"/>
          <xs:enumeration value="STRING"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Width" type="xs:int"/>
    <xs:attribute name="Fixed" type="xs:boolean"/>
  </xs:complexType>
</xs:element>

element Comment
diagram
type xs:string
used by
element Express
source
<xs:element name="Comment" type="xs:string"/>

element ENTITY
diagram
children ENTITY.Attributes Inverses ENTITY.Supertypes
used by
element SCHEMA
attributes
Name  Type  Use  Default  Fixed  
Name  xs:NMTOKEN  required      
source
<xs:element name="ENTITY">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="ENTITY.Attributes" minOccurs="0"/>
      <xs:element ref="Inverses" minOccurs="0"/>
      <xs:element ref="ENTITY.Supertypes" minOccurs="0"/>
      <xs:element ref="ENTITY.Attributes" minOccurs="0"/>
      <xs:element ref="Inverses" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Name" type="xs:NMTOKEN" use="required"/>
  </xs:complexType>
</xs:element>

element ENTITY.Attributes
diagram
children Attribute
used by
elements ENTITY ENTITY
source
<xs:element name="ENTITY.Attributes">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Attribute" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ENTITY.SubtypeOf
diagram
used by
element ENTITY.Supertypes
attributes
Name  Type  Use  Default  Fixed  
Name  xs:NMTOKEN  required      
source
<xs:element name="ENTITY.SubtypeOf">
  <xs:complexType>
    <xs:attribute name="Name" type="xs:NMTOKEN" use="required"/>
  </xs:complexType>
</xs:element>

element ENTITY.SupertypeOf
diagram
used by
element supertype_one_of
attributes
Name  Type  Use  Default  Fixed  
Name  xs:NMTOKEN  required      
source
<xs:element name="ENTITY.SupertypeOf">
  <xs:complexType>
    <xs:attribute name="Name" type="xs:NMTOKEN" use="required"/>
  </xs:complexType>
</xs:element>

element ENTITY.Supertypes
diagram
children ABSTRACT supertype_one_of ENTITY.SubtypeOf
used by
element ENTITY
source
<xs:element name="ENTITY.Supertypes">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="ABSTRACT" minOccurs="0"/>
      <xs:element ref="supertype_one_of" minOccurs="0"/>
      <xs:element ref="ENTITY.SubtypeOf" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element Express
diagram
children Comment SCHEMA
source
<xs:element name="Express">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Comment"/>
      <xs:element ref="SCHEMA"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element Inverse
diagram
children Attribute.Aggregate
used by
element Inverses
attributes
Name  Type  Use  Default  Fixed  
Name  xs:NMTOKEN  required      
Type  xs:NMTOKEN  required      
For  xs:NMTOKEN  required      
source
<xs:element name="Inverse">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Attribute.Aggregate" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Name" type="xs:NMTOKEN" use="required"/>
    <xs:attribute name="Type" type="xs:NMTOKEN" use="required"/>
    <xs:attribute name="For" type="xs:NMTOKEN" use="required"/>
  </xs:complexType>
</xs:element>

element Inverses
diagram
children Inverse
used by
elements ENTITY ENTITY
source
<xs:element name="Inverses">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Inverse" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element OPTIONAL
diagram
used by
element Attribute
source
<xs:element name="OPTIONAL">
  <xs:complexType/>
</xs:element>

element SCHEMA
diagram
children SCHEMA.Comment SCHEMA.Name TYPE ENTITY
used by
element Express
source
<xs:element name="SCHEMA">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="SCHEMA.Comment"/>
      <xs:element ref="SCHEMA.Name"/>
      <xs:element ref="TYPE" maxOccurs="unbounded"/>
      <xs:element ref="ENTITY" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element SCHEMA.Comment
diagram
used by
element SCHEMA
source
<xs:element name="SCHEMA.Comment">
  <xs:complexType/>
</xs:element>

element SCHEMA.Name
diagram
type xs:string
used by
element SCHEMA
source
<xs:element name="SCHEMA.Name" type="xs:string"/>

element supertype_one_of
diagram
children ENTITY.SupertypeOf
used by
element ENTITY.Supertypes
source
<xs:element name="supertype_one_of">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="ENTITY.SupertypeOf" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element TYPE
diagram
children TYPE.SelectList TYPE.EnumList TYPE.Aggregate TYPE.Type
used by
element SCHEMA
attributes
Name  Type  Use  Default  Fixed  
Name  xs:NMTOKEN  required      
Kind  xs:NMTOKEN  required      
source
<xs:element name="TYPE">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="TYPE.SelectList" minOccurs="0"/>
      <xs:element ref="TYPE.EnumList" minOccurs="0"/>
      <xs:element ref="TYPE.Aggregate" minOccurs="0"/>
      <xs:element ref="TYPE.Type" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Name" type="xs:NMTOKEN" use="required"/>
    <xs:attribute name="Kind" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="Defined"/>
          <xs:enumeration value="ENUMERATION"/>
          <xs:enumeration value="SELECT"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

element TYPE.Aggregate
diagram
used by
element TYPE
attributes
Name  Type  Use  Default  Fixed  
Type  xs:string  required      
Lower  xs:byte  required      
Upper  xs:byte  required      
source
<xs:element name="TYPE.Aggregate">
  <xs:complexType>
    <xs:attribute name="Type" type="xs:string" use="required"/>
    <xs:attribute name="Lower" type="xs:byte" use="required"/>
    <xs:attribute name="Upper" type="xs:byte" use="required"/>
  </xs:complexType>
</xs:element>

element TYPE.EnumItem
diagram
type xs:NMTOKEN
used by
element TYPE.EnumList
source
<xs:element name="TYPE.EnumItem" type="xs:NMTOKEN"/>

element TYPE.EnumList
diagram
children TYPE.EnumItem
used by
element TYPE
source
<xs:element name="TYPE.EnumList">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="TYPE.EnumItem" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element TYPE.SelectItem
diagram
type xs:NMTOKEN
used by
element TYPE.SelectList
source
<xs:element name="TYPE.SelectItem" type="xs:NMTOKEN"/>

element TYPE.SelectList
diagram
children TYPE.SelectItem
used by
element TYPE
source
<xs:element name="TYPE.SelectList">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="TYPE.SelectItem" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element TYPE.Type
diagram
used by
element TYPE
attributes
Name  Type  Use  Default  Fixed  
Name  xs:NMTOKEN  required      
Width  xs:int        
Fixed  xs:boolean        
source
<xs:element name="TYPE.Type">
  <xs:complexType>
    <xs:attribute name="Name" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="BINARY"/>
          <xs:enumeration value="BOOLEAN"/>
          <xs:enumeration value="INTEGER"/>
          <xs:enumeration value="NUMBER"/>
          <xs:enumeration value="REAL"/>
          <xs:enumeration value="STRING"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Width" type="xs:int"/>
    <xs:attribute name="Fixed" type="xs:boolean"/>
  </xs:complexType>
</xs:element>


XML Schema documentation generated with
XML Spy Schema Editor www.xmlspy.com