Chapter 8. Element Types

IN THIS CHAPTER

8.1 An Example of a Trivial Element Type

8.2 Concepts and Observations

8.3 The element Element

8.4 The any Element

The main purpose of an element type is to associate an element name with a structure type. The structure type is a simple type or a complex type. Furthermore, the structure type may be global to the schema, or it may be local to the element type. The XML representation of an element type is an element element.

The simplest form of an element type is one whose only attribute is name. An element type that does not explicitly specify a structure type implicitly specifies anyType as the structure type. The content of an element in an XML instance whose structure type is anyType is unconstrained. ...

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.