Chapter 21. Datatypes Friendly Tutorial

  • Built-in datatypes

  • Primitive datatypes

  • Derived datatypes

  • User-derived datatypes

Perhaps the most widely used product of the W3C XML Schema project is the datatype work. It was made a separate Part 2 of the XML Schema spec, with the intention “that it be usable outside of the context of XML Schema for a wide range of other XML-related activities”.

In this chapter, we describe the basic concepts of XML datatypes, with an emphasis on those that are built into the specification.

Built-in datatypes

The XML Schema Datatypes spec defines two categories of datatype: primitive and derived. All primitive datatypes are defined in the spec and are therefore among the built-in datatypes. You may not create your own primitive ...

Get XML in Office 2003: Information Sharing with Desktop XML now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.