Schema index.xsd


schema location:  H:\KRANG\SCHEMA\index.xsd
 
Elements 
index 


element index
diagram
children version class
source
<xs:element name="index">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="version">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="class" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="object" maxOccurs="unbounded">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="id" type="xs:int"/>
                  <xs:element name="xml" type="xs:string"/>
                  <xs:element name="file" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="name" type="xs:string" use="required"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element index/version
diagram
type restriction of xs:string
facets
minLength 1
source
<xs:element name="version">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element index/class
diagram
children object
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  required      
source
<xs:element name="class" maxOccurs="unbounded">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="object" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="id" type="xs:int"/>
            <xs:element name="xml" type="xs:string"/>
            <xs:element name="file" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="name" type="xs:string" use="required"/>
  </xs:complexType>
</xs:element>

element index/class/object
diagram
children id xml file
source
<xs:element name="object" maxOccurs="unbounded">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="id" type="xs:int"/>
      <xs:element name="xml" type="xs:string"/>
      <xs:element name="file" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element index/class/object/id
diagram
type xs:int
source
<xs:element name="id" type="xs:int"/>

element index/class/object/xml
diagram
type xs:string
source
<xs:element name="xml" type="xs:string"/>

element index/class/object/file
diagram
source
<xs:element name="file" minOccurs="0" maxOccurs="unbounded"/>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy