XML Schema - Simple types - values enumeration

Type can be defined as a values list separated by white-spaces.

The number of elements list limitation can used as a next derivation type.

Example

<xs:simpleType name="isbnTypes">
 <xs:list itemType="isbnType"/> 
</xs:simpleType> 
<xs:simpleType name="isbnTypes10">
 <xs:restriction base="isbnTypes">
   <xs:minLength value="1"/>
   <xs:maxLength value="10"/>
 </xs:restriction> 
</xs:simpleType>