Workshop

Quiz

  1. Why would you be reluctant to add a section called <Shipping and Handling> to the definition of a <Book> object?

    1. I wouldn't be reluctant at all; it's a natural part of an online order.

    2. Handling fees tend to be the same price for all items, so I would be more willing to include a shipping field.

    3. Shipping costs tend to vary by weight, and nearly all books are in the same weight range. Therefore, the shipping and handling costs tend to be the same for each book, so it can be computed on a per-item basis.

  2. Where would you place a page count field for the books in the online database?

    1. I wouldn't include such a field in my database.

    2. In the main database for the books.

    3. In the database of additional information.

    4. In both the main and additional ...

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.