Homework 10
Create an XML file that’s the equivalent of this database. Enter some data – let’s say 2 racetracks, 8 horses, 10 races, and 15 results. The data can be real or fictional.
RaceTrack(TrackName,
City, State)
Horse(HorseName,
YearBorn, Gender)
Race(RaceID,
Distance, TrackName,
Date, RaceNumber, Condition)
Result(RaceID,
HorseName, Time, Place)
Create a DTD file to define your XML file. Your DTD file
must “sort of” define primary and foreign key restraints using attributes.