xs:list

Purpose

Creates a new simple type of variety list. Valid lexical values are whitespace-separated lists of items. Each item is validated against the item type.

The following constraints apply:

  • Elements and attributes that have a datatype with variety list cannot be mapped:

  • Elements and attributes that have a datatype with variety list cannot be used in a tsd:unique constraint.

Parent element xs:simpleType
Child elements xs:annotation, xs:simpleType
Attributes id, itemType
Attributes
Name Type Description
id xs:ID Assigns an identifier to the schema node.
itemType xs:QName A reference to a global simple type definition resembling the item type. This attribute and the xs:simpleType child node, which can also be used to define the item type, are mutually exclusive.