A list data type is derived from an atomic data type that allows white space : list « XML Schema « XML Tutorial






<!-- schema -->
<simpleType name="myLuckyNumbers">
  <list itemType="decimal"/>
</simpleType>

<!-- instance document -->
<numbers xsi:type="myLuckyNumbers"> 3 7 13 17 21.5 </numbers>








3.65.list
3.65.1.Using a declaration, you can base your list items on a specific
3.65.2.Restrict a list type with the xsd:length, xsd:maxLength, xsd:minLength, and xsd:enumeration facets.
3.65.3.The list method uses a finite sequence of itemType attributes to derive a new type
3.65.4.length of our list is five
3.65.5.A list data type is derived from an atomic data type that allows white space