CS 312 - Internet Concepts
Fall 2009: Tues/Thurs 11am-12:15pm, MGB 0129

Print - Admin



  • Dr. Michele Weigle
  • mweigle at cs.odu.edu
  • E&CS 3214
  • Office Hours: MW 2:30-4pm
  • Grader: Hui Shi
  • hshi at cs.odu.edu


Syllabus (pdf)

Useful Links

Project 6: Creating an Inventory with XML

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:

  1. Create a directory for this project in ~/public_html/cs312/.
  2. Make sure that the directory and file permissions allow anyone to view the files.


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.


  • 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.


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!