n1:grammar

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
datatypeLibrary http://www.w3.org/2001/XMLSchema-datatypes optional
ns http://www.music-encoding.org/ns/mei optional

Source

<xs:element name="grammar">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="sch:ns"/>
      <xs:element ref="n1:div"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern" maxOccurs="unbounded"/>
      <xs:element ref="n1:define"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="sch:pattern"/>
      <xs:element ref="n1:define" maxOccurs="unbounded"/>
      <xs:element ref="n1:start"/>
      <xs:element ref="sch:ns" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="datatypeLibrary" fixed="http://www.w3.org/2001/XMLSchema-datatypes"/>
    <xs:attribute name="ns" fixed="http://www.music-encoding.org/ns/mei"/>
  </xs:complexType>
</xs:element>

Sample