Chapter 2. A quick tour of XML Schema
This chapter provides a quick tour of the main components of XML Schema. It also introduces a simple example of a schema and a conforming instance that will be used and built upon throughout the book.
2.1. An example schema
Suppose you have the instance shown in Example 2–1. It consists of a
product element that has two children (
size) and an attribute (