Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 Consider a shopping cart that encapsulates information about its inventory / product catalog: Product Catalog: Lists of products that the merchant sells. Product

Question 1
Consider a shopping cart that encapsulates information about its inventory/product catalog:
Product Catalog: Lists of products that the merchant sells.
Product Options: Product options that are available such as color or size. The customer selects zero or more options (if available for a product) before adding the product to the cart.
Each Product Option Values: Each product option has a list of values.
For example, a product can be a t-shirt that has 2 options: color and size. The color option has the following values: red and green. The size option has the following options: small, medium, and large.
Create an XML document that contains a couple of products with one or more options. Include essential elements (information about a product) that are not described above but that product must-have for a functional shopping cart.
Question 2
Consider a shopping cart that encapsulates information about its orders:
Order: Contains all the information about a specific order. All data is described in Order products, customer, and shipping and billing addresses.
Order Products: lists the products that have been purchased under this order.
Customer: contains the name and contact information of the customer.
Shipping Address: address of the customer.
Billing Address: address of the credit card for the customer.
Create an XML document that describes a potential order. Expand the items described above into what could be an actual design for a real-life shopping cart.
Please refer to the course materials to properly structure the XML documents.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Students also viewed these Databases questions

Question

Describe how to train managers to coach employees. page 404

Answered: 1 week ago

Question

Discuss the steps in the development planning process. page 381

Answered: 1 week ago