OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   What is the difference between XSD and DTD

[ Lists Home | Date Index | Thread Index ]
  • To: <xml-dev@lists.xml.org>
  • Subject: What is the difference between XSD and DTD
  • From: "Saha Rabindra N" <saha.rn@mellon.com>
  • Date: Wed, 27 Apr 2005 17:09:34 -0400
  • Importance: high
  • Priority: Urgent
  • Thread-index: AcVLVM4F90EqXzMyQ3qYaYkpkaW9tQAEH6sgAAG8m8A=
  • Thread-topic: [xml-dev] XSD spec question

Hello,
  Can anybody please explain me the real difference between XSD and DTD. Because both are used to define the schema of an XML document.
Whereas DTD is more powerful in the sense that XML parser can cross validate an XML document based on its DTD, and this is really useful in business world as XML is mostly used to exchange the data between parties.
On the other hand XSD defines the schema in XML syntax only which is more readable, but XML parser CAN NOT cross validate one XML document based on a given XSD.
 
Then I am not understanding why people go for XSD ?
 
Can some body correct me please !
Thanks in advance,
 
Regards,
Rabindra Nath Saha
 
 
The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee.
Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized.
If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(17b)
 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS