CS 312 - Internet Concepts
Fall 2010: Tues/Thurs 9:30-10:45am, Spong 108

Print - Admin





Useful Links

Project 6 - XML

Assigned: Tuesday, November 23, 2010
Due: Tuesday, November 30, 2010 before midnight
Group Assignment - You are permitted to work with your project group partner.

The goal of this assignment is to continue working towards the final project (Project 7), a webpage that provides searchable access to a personal media collection (CDs, MP3s, DVDs, etc.).

Setting Up

  1. Create a new directory under ~/public_html/cs312/ for this project
    • chmod 755 ~/public_html/cs312/new directory name
  2. Make sure that the directory and file permissions allow anyone to view the files.


Design an XML format suitable for holding a catalog of the media type that you chose in Project 5. You may choose your own elements, but at least 5 elements are required, including a URL for the media artwork.

Populate the XML file with at least 10 entries.

Note 1: Part of Project 7 will be to connect the form that you built in Project 5 with this XML file. (You'll write PHP code to save the form data in XML format.) So, if you need to make changes to your Project 5 form, copy the HTML file over to your Project 6 directory and only make changes to the copy.
Note 2: Part of Project 7 will involve using JavaScript to display entries from your XML file, so you may want to get a head-start by practicing with JavaScript and XML once you have your XML file populated.

No HTML coding is required for this project.


  • For full credit, your XML must pass validation. You'll need to copy/paste your XML file into the page, using a URL won't work.
  • For extra credit, create an XSLT file to style the XML file you created. All of the information associated with each entry must be displayed. Don't forget to set the permissions so that the XSLT file is readable by anyone.


Submit a hard-copy of your XML tree structure in class on Tuesday, Nov 30.

Go to the Project 6 Submission page, and enter the name of each group member and the URL of your Project 6 XML file (must start with http://www.cs.odu.edu/).

  • Only submit one URL per group.
  • Make sure that the URL works before you submit it.
  • Pressing the submit button will add a link to your page to the Student Projects page along with a timestamp of your submission. Note that you will not be directed to the list of pages, but to a page that says your submission was successful.
  • Only submit your URL once!