6.1. The Enclosing schema Element

Each XML schema document has exactly one schema element. The attributes of the schema element specify various defaults. Some of these attributes apply to namespaces. The content of the schema element ultimately specifies the valid set of elements and attributes, as well as the valid ranges for the element values and attribute values, permissible in a corresponding XML instance. The XML schema document disperses the specification of these elements and attributes across element types, attribute types, simple types, complex types, and other specific schema components.

Chapter 7 details the attributes and content options for a schema element. Chapter 7 also covers some miscellaneous content options (annotation

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.