24.5. complexType Element

Complex types provide a wide range of functionality, and their mapping to a database schema has a wide range of design options. In this section, each of the complexType attributes is briefly reviewed. The sections that follow discuss the content options available for a complexType, with database design options and implementations. The content options are the following element types:

  • all

  • any

  • anyAttribute

  • attributeGroup

  • choice

  • complexContent

  • group

  • sequence

  • simpleContent

  • restriction

  • extension

Examples are demonstrated, where appropriate.

24.5.1. Attributes of a complexType Element

complexType elements may contain the following attributes:

  • abstract

  • block

  • final

  • id

  • mixed

  • name

24.5.1.1. abstract Attribute

The abstract attribute specifies ...

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.