Chapter 12. Built-in Datatypes

IN THIS CHAPTER

12.1 Numeric Datatypes

12.2 Date, Time, and Duration Datatypes

12.3 String Datatypes

12.4 Oddball Datatypes

A datatype has two primary components, plus “facets” that are used to describe derived datatypes. The two primary components are a value space and a lexical space. The character strings in the lexical space serve as names for the abstract objects in the value space. There must, of course be a prescribed mapping from lexical-space character strings to value-space values. It’s the lexical-space strings that actually occur in XML documents.

On the other hand, most restriction derivations involve restrictions on permitted values in the value space, so when defining restrictions (via an appropriate ...

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.