Comparing the Two Data Modeling Approaches

Now that you have some idea about schemas and the two primary approaches that are available for modeling XML document data, it's time to assess the relevance of each approach. You're probably wondering which approach you should use, and why. Or could there be different circumstances that would dictate the usage of one approach over the other?

The best place to start in assessing the usefulness of each schema approach is to clearly outline the differences between them. I've mentioned some of the differences throughout the chapter thus far, but I want to make sure that you have a solid grasp of how DTDs and XML Schemas are different from each other.

The following is a list of the major differences between ...

Get XML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.