XML Data Modeling Basics

An XML document is essentially a structured medium for storing information. In order to assess the validity of an XML document, you need to establish exactly to which structure the information within the document must adhere. This is accomplished with a schema, which is a model used to describe the structure of information within an XML document. Schemas are used in XML to model a class of data. Once a data model is in place for a particular class of data, you can create structured XML documents that adhere to that model.

Note

If you've done any work with databases, you've probably heard of schemas. A database schema is used to describe the structure of data in relational database tables.

A schema describes the arrangement ...

Get XML Unleashed 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.