Eventually, we'll want to do an analysis of the different entities that we're relating together, but in beginning to build our DTD, we'll start off with an excerpt from our products.xml file.
Make a copy and save it in C:\xerces-1_2_3\data (or the appropriate directory on your system). Remove all but the first vendor, Conners Chair Company, as shown in Listing 3.1.
0: <?xml version="1.0"?> 1: <products> 2: <vendor webvendor="full"> 3: <vendor_name>Conners Chair Company</vendor_name> 4: <advertisement> 5: <ad_sentence> 6: Conners Chair Company presents their annual big three 7: day only chair sale. We're making way for our new 8: stock! <b>All current inventory must go!</b> Regular ...