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:
00901087
Views:
20
----
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