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