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:
00901137
Views:
17
Thanks Lisa,

I didn't really have a particular question. I'm starting a new project in which we plan to do XML exchange. However, I'm pretty much defining the standard of what will be used/passed, etc. I wanted to be sure that I was validating the XML being sent to me but I wasn't sure whether I should be using DTD or XSD.

It sounds like they're pretty much competing technologies where you use either one or the other but not necessarily both.

Thanks again for your input.

Rodd
>----
>Is there something that would cause someone to use DTD rather than XSD or the other way around?
>----
>
>Yes, many things. One thing is you have to go with what your partners in XML transactions are going to understand. That means using DTDs if it is what they can read/parse/require, and using XSDs if they mandate them.
>
>XSDs are far more expressive but are much newer, so this is a transitional phase.
>
>I personally find them much harder to write but, usually, well-worth it. There are one or two things that are quite nice in DTDs that you miss when you have to express them in XSD syntax but, as the XSD standard progresses, I think these items will be taken care of.
>
>Did you have a particular need or question in mind?
>
>>L<
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform