From http://www.w3schools.com (Copyright Refsnes Data)
XML Schema is an XML-based alternative to DTD.
An XML schema describes the structure of an XML document.
The XML Schema language is also referred to as XML Schema Definition (XSD).
Before you continue you should have a basic understanding of the following:
If you want to study these subjects first, find the tutorials on our Home page.
The purpose of an XML Schema is to define the legal building blocks of an XML document, just like a DTD.
An XML Schema:
We think that very soon XML Schemas will be used in most Web applications as a replacement for DTDs. Here are some reasons:
XML Schema became a W3C Recommendation 02. May 2001.
You can read more about the XML Schema standard in our W3C tutorial.
From http://www.w3schools.com (Copyright Refsnes Data)