Comparing DTD and XML Schema
Wang Nian-qiao · Microcomputer Development · 2004
XML is a data exchange standard that is widely used in the presence.And using schemas to validate XML documents is a mechanism to make data exchanges correct.The structure of document is described by schema in detail, so its validity is guaranteed. XML Schema and DTD are the most widely used schemas.Most of the major differences between XML Schema and DTD have been covered in detail in this article.And,as a conclusion,the best uses and shortages of both XML Schema and DTD have been discussed.DTD is fit for text dense documents while Schema for data dense.