• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Creating XML Document Type D... > Modeling Relational Databases

Modeling Relational Databases

In this discussion of developing DTDs, the elements have consistently been structured hierarchically. Generally, this really is what you need to do, but instances might occur where you might want to —or even need to—avoid having too much of a hierarchy, and you want to keep the model flat. Such an application would be when you are using XML to model a relational database, an application that XML is ideally suited for (subject to the planned XML data typing initiatives bearing fruit).

Consider the simple relational database description shown in Listing 14.5. Although the topic of database modeling in XML deserves more extensive treatment than can be given here, even a quick appraisal shows that you don't really need that much depth. The simple database shown here, in fact, only needs four levels:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint