File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply 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 ...
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Difference Between XML Schema and DTD
 
Similar Threads
XML schema and dtd
logical schema Vs physical schema
Difference between Schema and DTD?
DTD vs Schema
XSD & DTD ?