This DTD describes the data which Amazon.com has agreed to make available to YourBookstore.com.
<!-- Book details --> <!ELEMENT details (ISBN #REQUIRED, length?, type*, description?, related*)> <!-- ISBN number, required --> <!ELEMENT ISBN (%plaintext;)+> <!-- Length of book, in pages --> <!ELEMENT length (#PCDATA)> <!-- Type of book, e.g. novel, coffeetable, mystery, childrens, etc --> <!ELEMENT type ("fiction"|"coffeetable"|"mystery"|"childrens"|"picture"|"nonfiction"|"reference")> <!-- Short description of the book --> <!ELEMENT description (#PCDATA)> <!-- Related books titles --> <!ELEMENT related (#PCDATA)> <!-- Customer profile information --> <!ELEMENT profile (ISBN #REQUIRED, popularity?, marketshare?, agegroup?)> <!-- Number of buyers --> <!ELEMENT popularity (#PCDATA)> <!-- Percentage of sales amongst related books --> <!ELEMENT marketshare (#PCDATA)> <!-- Mean age of buyers --> <!ELEMENT agegroup (#PCDATA)>
Here is some example data
<details> <ISBN> 0836823796 </ISBN> <length> 15 </length> <type> childrens </type> <type> picture </type> <description> Simple text and photographs present various baby animals, including a chick, piglet, and kitten. </description> <related> Daisy-Land Pictures and Stories for Our Pets </related> </details> <profile> <ISBN> 0836823796 </ISBN> <popularity> 12 </popularity> <marketshare> 2 </marketshare> <agegroup> 1-12 </agegroup> </profile> <details> <ISBN> 0385319037 </ISBN> <length> 304 </length> <type> fiction </type> <description> Laura Zigman's literary skirmish in the ongoing battle of the sexes is based on a singularly unoriginal observation: the tendency of human males to love 'em and leave 'em, uh, apes the behavior of nearly every other male animal on Earth. </description> <related> Dating Big Bird </related> <related> Mail </related> </details> <profile> <ISBN> 0385319037 </ISBN> <popularity> 15,203 </popularity> <marketshare> 20.5 </marketshare> <agegroup> 24-25 </agegroup> </profile> <details> <ISBN> 1879206080 </ISBN> <length> 80 </length> <type> nonfiction </type> <type> reference </type> <description> From the moment of the kill to putting venison on your table--information you can use for in-the-field dressing, at-home butchering and properly cooking venison. 3 1/2 x 5-inch, 80-page fully illustrated book comes with fluorescent orange cover to use in the field where you need it. </description> <related> Basic Butchering of Livestock & Game </related> <related> Aggressive Whitetail Hunting </related> <related> 301 Venison Recipes : The Ultimate Deer Hunter's Cookbook </related> </details> <profile> <ISBN> 1879206080 </ISBN> <popularity> 28,738 </popularity> <marketshare> 35 </marketshare> <agegroup> 18-69 </agegroup> </profile>