Chapter 10. Simple Types

IN THIS CHAPTER

10.1 An Example of a Simple Type Derived from the Built-in token Datatype

10.2 An Example of a Pattern-constrained Simple Type

10.3 An Example of a Simple Type Derived from a User-derived Simple Type

10.4 Concepts and Observations

10.5 The simpleType Element

10.6 The restriction Element

10.7 The list Element

10.8 The union Element

This chapter details how to write simple types. Simple types determine the range of possible values of an element or attribute in an XML instance. Simple types derive from either a built-in datatype or another derived simple type. The built-in datatypes fall mostly into the broad categories of strings, numbers, and dates. Chapter 12 contains more detail on the built-in datatypes. ...

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.