This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Difference Between XML Schema and DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Difference Between XML Schema and DTD" Watch "Difference Between XML Schema and DTD" New topic
Author

Difference Between XML Schema and DTD

arun sharma
Greenhorn

Joined: Jul 02, 2003
Posts: 19
Hi;
What is the difference between Schema and DTD..
Which one we should use?
thanks a lot for help
arun
Manuel Moons
Ranch Hand

Joined: Mar 05, 2002
Posts: 229
XML Schema is the way to go.
XML Schema is in xml syntax, DTD has it's own syntax.
With xml schema you can do more extensive validations than with dtd. You have a number of datatypes that you can use. You can put masks on values, ...
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
check this http://www.sitepoint.com/article/931


Spritle Software Blogs
arun sharma
Greenhorn

Joined: Jul 02, 2003
Posts: 19
thanks for the support ...
 
 
subject: Difference Between XML Schema and DTD
 
Similar Threads
logical schema Vs physical schema
Difference between Schema and DTD?
DTD vs Schema
XML schema and dtd
XSD & DTD ?