11.6. The complexType Element

Complex types provide a wide range of functionality. This wide range includes, but is not limited to, extending simple types and restricting or extending complex types, empty content, and mixed content. Most of the listings in this chapter, especially Listings 11.111.4, contain examples of complex types.

11.6.1. Attributes of a complexType Element

A complexType element can specify the name and id attributes that are also applicable to many other elements. The attributes abstract, block, and final provide the capability to derive instantiable complex types. The mixed attribute determines when a complex type permits or prohibits mixed content. Table 11.1 provides a summary of all of the attributes applicable to ...

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.