The Definition of Your Basic Data Records
To perform any database operations, you first need a database, and before you have a database, you must have a definition of a record of that database. For the purposes of this hour, you'll be defining a catalog of books. Your basic <Book> data object will consist of a complex node describing the author, a complex node describing the publisher, and simple nodes with the title, ISBN, an ID number used by the publisher, the date of publication, and the price of the book. The <Book> nodes will satisfy the XML definition shown in Listing 9.1.
An entry in a database is known as a record, and all records must satisfy the definition of the record. Since your XML data files consist of nodes that satisfy ...