maxLength defines the maximum number of units of length using a nonnegative integer : maxLength « XML Schema « XML Tutorial






<xsd:element name="myString">
  <xsd:simpleType>
   <xsd:restriction base="xsd:normalizedString">
    <xsd:maxLength value="10"/>
   </xsd:restriction>
  </xsd:simpleType>
</xsd:element>








3.70.maxLength
3.70.1.maxLength defines the maximum number of units of length using a nonnegative integer
3.70.2.To specify the maximum length of an element