AJAX Forums

What is the difference between a XSD in XML and a DTD in XML?

This is a discussion on What is the difference between a XSD in XML and a DTD in XML? within the XML and XSLT forums, part of the Beginners AJAX category; I was told that a DTD specifies the data elements and the limitations of each element. Those data elements are later used in the XML document. But I was told ...


Go Back   AJAX Forums > Beginners AJAX > XML and XSLT

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 04-04-2007, 12:37 AM   #1 (permalink)
Junior Member
 
Join Date: Apr 2007
Posts: 1
Rep Power: 0 scanjet is on a distinguished road
What is the difference between a XSD in XML and a DTD in XML?

I was told that a DTD specifies the data elements and the limitations of each element. Those data elements are later used in the XML document. But I was told that they are doing away with DTDs in favor for XSD. I can't seem to find much information about XSD. Is XSD and DTD the same thing.
__________________
scanjet is offline   Reply With Quote
Old 04-04-2007, 10:02 AM   #2 (permalink)
Junior Member
 
Join Date: Apr 2007
Posts: 1
Rep Power: 0 C Neg is on a distinguished road
The two previous answerers are very correct, XSD xml schema definition deprecates DTDs and also optionally extends or cooperates (as in backward-compatibility) with them. Another avenue to explore, if you have the freedom to do so, is RelaxNG xml schema standard. It's *extremely* useful, compared to XSD because it makes a ton more sense and is easier to use, yet it accomplishes the same things. There is even a shorthand in case storage considerations or transmission brevity is needed. By all means, look into it.
__________________
C Neg is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Is There A Difference Between Cloud Computing and SaaS? microbee AJAX Help 0 07-16-2008 04:44 PM
What's the difference between studying Graphic Design and Adobe Photoshop or Adobe Sapph Flex and Flash 3 07-31-2007 11:56 AM
what difference between HTML and XML? sharon_angel89 XML and XSLT 3 06-25-2007 03:46 AM
What is the difference between DHTML, XHTML, and XML? Michael XML and XSLT 2 06-02-2007 09:32 PM
What is the difference between web services and... shyam n AJAX Web Services 2 03-21-2007 07:25 PM


All times are GMT -4. The time now is 02:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com