Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's the difference between DTD & XSD?
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00900771
Message ID:
00901139
Views:
34
Thanks Doru,

That's very helpful to know.

Rodd

>I never used DTD, and used XML/XSD just in school labs.
>The main difference is said to be that DTD cannot validate data types (like integer, date, time, float, etc.)
>XML schema allow you to specify data types, and a XSD will validate data types and ensure proper content of the XML data.
>
>>I've been reading a bit lately trying to immerse myself in XML. However, I still haven't seen anything that really tells me why you would use DTD instead of XSD or visa versa.
>>
>>They both seem to provide a way to type or define how an instance document will appear or how it should be laid out. One uses XML-like syntax and one doesn't.
>>
>>Is there something that would cause someone to use DTD rather than XSD or the other way around?
>>
>>Thanks for your help!
>>
>>Rodd
Previous
Reply
Map
View

Click here to load this message in the networking platform