<?xml version=“1.0”?> <xsd:schema xmlns:xsd=“www.w3.org/2001/XMLSchema”>

<xsd:annotation>
  <xsd:documentation>
    Testing min and max occurance attributes on element
  </xsd:documentation>
</xsd:annotation>

<xsd:element name="doc">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name='a' minOccurs='0' maxOccurs='3'/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

</xsd:schema>