XML - Managing Data Exchange/A single entity/Exercises

Single-Entity CHAPTER => A Single Entity

Single-Entity ANSWERS => Answers

---  Class Example - Wine Store 

Develop an XML Document, an XML Schema, and an XML Stylesheet that integrate information about the wine found in a wine store: wine id, winery, vintage, style, country, region, cost, price, inventory level, and description. ---

1. A museum problem.
 * a. Create an XML schema to describe a museum entity that has the following attributes: museum name, date established, address and URL.  Check that it is well-formed and valid.
 * b. Using the schema, create an XML document and populate it with data for two museums. Check that it is well-formed and valid.
 * c. Write an XML stylesheet to display the name of the museum, date established and the URL. Check that it is well-formed and valid.

2. XML dataflow model. Try to build a dataflow model containing the following components and how they work together: - XSL stylesheet - XML documents - XML schema - XSL(T) Processor - different outputs

3. A fraternity or sorority problem.
 * a. Create an XML schema to describe a fraternity or sorority that has the following attributes: name of organization, type of organization (fraternity or sorority), address, URL.  Check that it is well formed and valid.
 * b. Using the schema, create an XML document and populate it with data for two organizations. Check that it is well-formed and valid.
 * c. Write an XML stylesheet to display the name of the organization, type of organization, address and the URL. Check that it is well-formed and valid.

4.Concept to XML. Using the output below, design an XML Document, XML Schema, and XML Stylesheet that will produce such a display.

Single-Entity CHAPTER => A Single Entity

Single-Entity ANSWERS => Answers