Schema Basics
The XML Schema specification assumes that at least two XML documents are in use: an instance document and at least one schema document. The instance document contains the actual information we care about. The schema documents describe the structure and type of the instance document. The distinction between instance and schema is similar to the distinction between object and class in object-oriented programming languages. A class describes an object much like a schema describes an instance document.[2]
[2] In fact, class-to-schema compilers are one likely application for XML Schema.
The XML Schema specification relies on two fundamental namespace URIs. The schema URI (http://www.w3.org/1999/XMLSchema) is used to qualify all constructs ...
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