Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes XML and Related Technologies and the fly likes XSD & DTD ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSD & DTD ?" Watch "XSD & DTD ?" New topic


Preeya Shalini

Joined: Mar 22, 2005
Posts: 1
What is the difference between XSD and DTD
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Read their definintions for a full answer; a summary might be that where both define an XML document's structure, schemas also define their possible content.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
It is sorta covered in the JavaRanch Style Guide.
subject: XSD & DTD ?
It's not a secret anymore!