11.5. Concepts and Observations

A complex type has many options. Accordingly, the XML representation of a complex type has many possible attributes and many choices for content. Because of the capabilities of a complex type, this section highlights quite a few observations about the Schema Recommendation.

11.5.1. Explicitly Non-instantiable Complex Types

Only complex types and element types can be explicitly non-instantiable. A complex type that specifies the abstract attribute with the value ‘false’ cannot have instances. Listing 11.5 is the explicitly non-instantiable dollarPriceType complex type.

Warning

Read the discussion about terminology in Section 1.8 before reading about abstraction and instantiation. The Schema Recommendation uses ...

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.