Specify a DTD appropriate for a document that contains data from both the Course table in Figure 4.34, and the Requires table in Figure 4.35. Try to re?ect as many constraints as the DTDs allow. Give an example of a document that conforms to your DTD.

What will be an ideal response?


One good example of such a document is shown below. Note that it does not try to mimic the relational representation, but instead courses are modeled using the object-oriented approach.



CrsName="Transaction Processing" CreditHours="3">




.....

.....



An appropriate DTD would be:



CrsCode ID #REQUIRED
DeptId CDATA #IMPLIED
CrsName CDATA #REQUIRED
CreditHours CDATA #REQUIRED >
CrsCode IDREF #REQUIRED
EnforcedSince CDATA #REQUIRED>

Computer Science & Information Technology

You might also like to view...

A form that displays data from the fields in its record source is called a ____ form.

A. representative B. bound C. mirror D. structured

Computer Science & Information Technology

In a dedicated system, the user is normally charged for the entire system. Suppose that in a multiprogramming system only one user is currently on the system. Should the user be charged for the entire system?

What will be an ideal response?

Computer Science & Information Technology

COGNITIVE ASSESSMENT When 8 bits are grouped together as a unit, how many individual characters can these 8 bits represent?

A. 8 B. 100 C. 256 D. 844

Computer Science & Information Technology

A(n) ______ is an object that encloses similar objects within a report.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology