Name

xs:complexContent

Attributes

mixed

Can be set to true when mixed content is allowed; false when mixed content is prohibited

Contents

xs:annotation?, ( xs:restriction | xs:extension )

The xs:complexContent element is used when deriving new complex types by extending or restricting existing complex types. It can contain an optional xs:annotation element followed by either an xs:restriction or an xs:extension element. The use of the mixed attribute depends on the type being extended or restricted. If the content of xs:complexContent is an xs:extension, it must match the mixed attribute of the type being extended.

Get XML Pocket Reference, 3rd Edition 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.