Schema Untitled2.xsd


Elements 
featlhs 
featrhs 
features 
grammar 
item 
lhs 
rhs 
rule 


element featlhs
diagram
type xs:string
used by
element item
source
<xs:element name="featlhs" type="xs:string"/>

element featrhs
diagram
type xs:string
used by
element item
source
<xs:element name="featrhs" type="xs:string"/>

element features
diagram
children item
used by
element rule
source
<xs:element name="features">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="item" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element grammar
diagram
children rule
source
<xs:element name="grammar">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="rule" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element item
diagram
children featlhs featrhs
used by
element features
source
<xs:element name="item">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="featlhs"/>
      <xs:element ref="featrhs"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element lhs
diagram
type restriction of xs:string
used by
element rule
facets
enumeration GN
enumeration GN1
enumeration GN2
enumeration GNP
enumeration GV
enumeration INF
enumeration S
source
<xs:element name="lhs">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="GN"/>
      <xs:enumeration value="GN1"/>
      <xs:enumeration value="GN2"/>
      <xs:enumeration value="GNP"/>
      <xs:enumeration value="GV"/>
      <xs:enumeration value="INF"/>
      <xs:enumeration value="S"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element rhs
diagram
type xs:string
used by
element rule
source
<xs:element name="rhs" type="xs:string"/>

element rule
diagram
children lhs rhs features
used by
element grammar
attributes
Name  Type  Use  Default  Fixed  
number  xs:NMTOKEN  required      
source
<xs:element name="rule">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="lhs"/>
      <xs:element ref="rhs"/>
      <xs:element ref="features"/>
    </xs:sequence>
    <xs:attribute name="number" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="1"/>
          <xs:enumeration value="2"/>
          <xs:enumeration value="3"/>
          <xs:enumeration value="4"/>
          <xs:enumeration value="5"/>
          <xs:enumeration value="6"/>
          <xs:enumeration value="7"/>
          <xs:enumeration value="8"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>


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