Homework 5

Create answers for one of the following

Modified Book Problem

  1. Develop an answer for exercise 20.13 (p. 679)
  2. Develop an answer for exercise 20.16 (sort by name)
  3. Create an XSLT document that sorts the list by Job. Add buttons to your HTML file that switches the XSLT file from the one used in problem 2 to the one created in problem 3. That is, you can now sort the table in more than one way.
  4. Add JavaScript code and HTML textboxes that are capable of adding a new record to your XML object (and display this in the table). Note this code will not permanently change your XML file (we will work on this later).

Problem related to Project

  1. Create an XML file that is relevant for your project.
  2. Create an XSL file and an XHTML file that displays the contents of your XML data.
  3. Create a second XSL file that provides a second view of your data. Add buttons to your XHTML file and the necessary JavaScript code to switch between views.
  4. Develop JavaScript code that reads data from some form that updates the XML displayed in your XHTML file. This code will not permanently change the XML (after exit ing the browser and coming back to the page). In a later exercise we will create code that uses the XML data to update a database.

Problem related to Flash

  1. Create an XML file that is relevant for your Flash project.
  2. Display or use the XML file in your flash presentation.
  3. Show me how to do it :-)

Last modified: April 3, 2003
Dirk Baldwin, MIS, UW-Parkside, dirk.baldwin@uwp.edu