Assigned: Tuesday, November 10, 2009
Due: Tuesday, November 17, 2009 before class
Setting Up | Description | Requirements | Submission
The goal of this assignment is to create a CD inventory using XML.
Setting Up
Here are the steps to get started:
- Create a directory for this project in
~/public_html/cs312/.
- Make sure that the directory and file permissions allow anyone to view the files.
Description
Recall the scenario: You are in charge of designing a website for Dan's Disco Discs. As the name implies, they specialize in selling disco CDs. The company wants a home page, an inventory page, a disco information page, and a contact page.
In this assignment, you will be creating an XML-based inventory for the store. For extra-credit, you can design a styling for the XML file. No HTML coding is required.
Requirements
- Your XML must pass validation. You'll need to copy/paste your XML file into the page, using a URL won't work.
- Design an XML format suitable for holding a catalog of CDs. You may choose your own elements, but the following are required for each album:
- title
- artist
- year
- artwork (URL of album artwork)
- name of each track
- price
- availability
- Create an XML file named
albums.xml containing the information for at least 5 disco-era albums using your XML format.
- Don't forget to set the permissions so that the XML file is readable by anyone.
- It may be helpful to take a look at Project 7 to get a feel for what you'll be doing with the XML file.
For Extra Credit
- Create an XSLT file named
albums.xsl to style the albums.xml file you created. All of the information associated with each album must be displayed.
- Don't forget to set the permissions so that the XSLT file is readable by anyone.
Submission
Go to the Project 6 Submission page, and enter your name and the URL of your XML file.
- Make sure that the URL works and has been validated before you submit it.
- Only submit your URL once!