XML Schema Complete Reference, The
by Cliff Binstock, Chris Galtenberg, Mike Wooding, Chris Dix, Mitchell Smith, Dave Peterson
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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access