YouTip LogoYouTip

El List

# XML Schema list Element * * Complete XML Schema Reference](#) * * * ## Definition and Usage The list element defines a collection for a single simpleType definition. ### Element Information * **Parent element:** simpleType ### Syntax (annotation?,(simpleType?)) (The ? symbol declares that the element can appear zero or one time within the list element.) | Attribute | Description | | --- | --- | | id | Optional. Specifies a unique ID for the element. | | itemType | The name of a built-in data type or simpleType element defined in this schema (or another schema indicated by the specified namespace). The simpleType element containing the list element is derived from the simple type specified by the list value. The list value must be a qualified name (QName). This attribute is required if the content does not contain a simpleType element, otherwise it is not allowed. | | any attributes | Optional. Specifies any other attributes with non-schema namespaces. | ### Example 1 The following example demonstrates a simple type for a list of integers: The "intvalues" element in the document would look like this (note that the list has five list items): 100 34 56 -23 1567 **Note:** Whitespace is used as the list separator.
← El NotationEl Keyref β†’