Chapter 11. Complex Types

IN THIS CHAPTER

11.1 An Example of a Complex Type Specifying Empty Content

11.2 An Example of a Complex Type That Adds Attributes to a Simple Type

11.3An Example of a Complex Type Specifying Nested Element Types

11.4An Example of a Complex Type Specifying Mixed Content

11.5 Concepts and Observations

11.6 The complexType Element

11.7 The simpleContent Element

11.8 The complexContent Element

11.9 The extension Element

11.10 The restriction Element

11.11 The all Element

11.12 The choice Element

11.13 The sequence Element

11.14 The group Element

Complex types provide sophisticated groupings of element types. Complex types specify the following functionality:

  • Adding attribute types to simple types.

  • Requiring empty content ...

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.