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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] What is the difference between XSD and DTD

[ Lists Home | Date Index | Thread Index ]

Saha Rabindra N wrote:

> 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.

A DTD is a terse thing with a simple macro mechanism that makes people 
yearn for an XML syntax
and more powerful abstractions. It can only handle simple structures.

An XSD is a verbose thing with multiple abstractions that makes people 
yearn for a terser syntax
and less to learn. It still can only handle simple structures.

Cheers
Rick Jelliffe





 

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

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