----
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
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