In this lesson we will discuss the role of an XML Schema when working with XML Documents.
A Schema is used to describe the structure and content of an XML document. Schemas are used to make sure applications can establish a common vocabulary to exchange data across a class of documents.
There have been many XML schema languages developed to express specific models.
Many industries have developed their own standard for data exchange using XML. These schemas are constantly evolving to meet business needs.
Some examples include:
Schemas are often used to check if an XML document is both "well formed" and "valid".
Common characteristics of schemas include:
XML has become central to web development. It is used as a core technology for Web 2.0 frameworks such as RSS, AJAX, and ATOM.
We will be exploring AJAX later in this course.