XML Schemas will take over from DTDs as the primary method of defining XML data. Some of the most powerful reasons for using XML Schemas are their ability to: validate much more powerfully with extended constraint mechanisms; the ability to create your own datatypes; dynamically bind instance documents to schemas at run time; be used with existing XML tools as they are written in XML syntax; support namespaces; and merge schemas into one.
XML Schemas will take over from DTDs as the primary method of defining XML data. Some of the most powerful reasons for using XML Schemas are their ability to: validate much more powerfully with extended constraint mechanisms; the ability to create your own datatypes; dynamically bind instance documents to schemas at run time; be used with existing XML tools as they are written in XML syntax; support namespaces; and merge schemas into one.