11.13. The sequence Element
The sequence element provides an XML representation of an ordered set of element types. For each element type associated with a sequence element in an XML schema document, there must be an element in the XML instance, in the same order. In fact, there may be zero or many elements for each type, depending on the values of the minOccurs and maxOccurs attributes associated with the element types.
The baseCatalogEntryType described in Listing 11.7 contains a sequence describing an ordered set of element types.
11.13.1. Attributes of a sequence Element
Other than the ubiquitous id attribute, the attributes of the sequence element describe the number of times each element type must occur. Table 11.15 details the attributes ...
Get XML Schema Complete Reference, The now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.