Chapter 6. Adjusting Inventory: Using Namespaces and More About DOM

In this chapter

  • Manipulating In-Memory Documents

  • The Structure of a DOM Document

  • Adding Namespaces

  • Creating the Review Page

  • The Final Style Sheet

  • Collecting Payment Information

  • Accepting Payment Information

  • Next Steps

In the last chapter, we built the beginnings of a shopping cart, allowing the user to add items to an order. In this chapter, we complete the order process, allowing him or her to review the shopping cart and check out, as well as adjusting the inventory on hand.

To do this, we will begin to look at segregating data into various namespaces, such as products and orders.

Almost from the beginning, we have talked about namespaces, but until now, we haven't said much about ...

Get XML and Java™ from scratch 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.