xs:narrowMaxMin

restricted max/min

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
block xs:blockSet optional
default xs:string optional
fixed xs:string optional
form xs:formChoice optional
id xs:ID optional
maxOccurs xs:null 1 optional
minOccurs xs:null 1 optional
name xs:NCName optional
nillable xs:boolean false optional
ref xs:QName optional
type xs:QName optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Source

<xs:complexType name="narrowMaxMin">
  <xs:annotation>
    <xs:documentation>restricted max/min</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:restriction base="xs:localElement">
      <xs:sequence>
        <xs:element ref="xs:annotation" minOccurs="0"/>
        <xs:choice minOccurs="0">
          <xs:element name="simpleType" type="xs:localSimpleType"/>
          <xs:element name="complexType" type="xs:localComplexType"/>
        </xs:choice>
        <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:attribute name="minOccurs" use="optional" default="1">
        <xs:simpleType>
          <xs:restriction base="xs:nonNegativeInteger">
            <xs:enumeration value="0"/>
            <xs:enumeration value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="maxOccurs" use="optional" default="1">
        <xs:simpleType>
          <xs:restriction base="xs:allNNI">
            <xs:enumeration value="0"/>
            <xs:enumeration value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax"/>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>