10.5. The simpleType Element

The XML representation of a simple type is a simpleType element. A simpleType must contain exactly one of the following elements: restriction, list, or union. Because all three of the aforementioned elements are moderately complex, this chapter includes a section for each element. The simpleType and restriction elements cover the majority of simple types, which are frequently easy derivations of built-in datatypes.

10.5.1. Attributes of a simpleType Element

The simpleType element has only three attributes: final, id, and name. All three of these attributes behave similarly to the identically named attributes for the element element. Chapter 8 provides details on the element element. Table 10.1 provides an overview ...

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.