Partager via


2.2.5.20 t:NonEmptyStringType Simple Type

The NonEmptyStringType simple type specifies a string that MUST have a minimum of one character. The NonEmptyStringType simple type extends the xs:string data type ([XMLSCHEMA2] section 3.2.1).

 <xs:simpleType name="NonEmptyStringType">
     <xs:restriction base="xs:string">
         <xs:minLength value="1"/>
     </xs:restriction>
 </xs:simpleType>