The list method uses a finite sequence of itemType attributes to derive a new type : list « XML Schema « XML Tutorial






<!-- schema -->
<simpleType name="websafe_hex">
  <list itemType="string"/>
</simpleType>

<!-- instance document -->
<color xsi:type="websafe_hex"> 00 33 66 99 cc ff</color>








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