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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only