8.3. The element Element

The XML representation of an element type is an element element. Most element types are relatively straightforward: The element type only associates a name with a structure type. Despite the fact that this simple association covers the majority of element types, element types support a wide range of functionality. Element type functionality, described in this section, includes default values, element instance cardinality, substitution groups, blocking, and more.

8.3.1. Attributes of an element Element

One of the great features about XML schemas is the ability to specify—in great detail—the structure and contents of element types. Table 8.1 summarizes the individual attributes used to constrain an element element.

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.