The Structure of the <Catalog> Database
You've used a database of books under the <Catalog> XML tag in previous hours. That same tag will be used again, but now the data will be of a slightly different form and a schema will be used to describe it.
The entries in the <Catalog> database will all be books, and the <Book> entries will have the components shown in Table 20.1.
Tag name | What it contains | Data type |
---|---|---|
<Title> | The title of the book | Text |
<Subject> | A list of keywords about the topics covered in thebook | Text |
<Author> | ||
<Name> | The name of the author | Text |
<Address> | The address of theauthor | Text |
<City> | The city of residence | Text |
<State> | The state of residence | Text |
<PostalCode> | The postal code of residence ... |
Get Sams Teach Yourself XML in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.