Planning Document Structure

This chapter has emphasized the mechanics of capturing the desired structure of an XML document in a DTD. Very little has been said so far about how you can arrive at the desired structure.

If you have done any object-oriented programming, for example, in Java, you know that a meaningful object model simplifies program development and maintenance. Similar advantages apply when the design of XML documents also appropriately reflect the business or other situation that they describe. On the other hand, poor document structure can unnecessarily complicate development of XML applications with consequent delays or cost overruns.

Get Platinum Edition Using XHTML™, XML, and Java™ 2 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.