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

From
Rick Jelliffe <>
To
Date
2005-04-28T09:55:44Z
ID
<>
Thread
Re: [xml-dev] What is the difference between XSD and DTD
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