SDSU CS 683 Emerging Technologies
Spring Semester, 2003
Assignment 3
    Assignment Index        
© 2003, All Rights Reserved, SDSU & Roger Whitney
San Diego State University -- This page last updated 13-Mar-03

XML Assignment

1. Write an XSL program to convert the facutly office XML data (below) to an html page that displays the date in an html table. Add the column headers Name, Email, Office and Phone to each column.

2. Write a SAX based program to convert the facutly office XML data to a file with the following format:

Anantha,anantha@cs.sdsu.edu,CG-557A,619-594-2351;
Bajic,bajic@cs.sdsu.edu,CG-583,619-594-7253;

That is the data for each instructor is separated by a comma ‘,’ and instructors are separated by semi-colon and new-line.

3. Write and XML-RPC server and client to allow a user to query the server with the name on an instructor and receive the instructor’s email, office number and phone number. A user can should also query the server with an office number and receive the instructor’s name assigned to that office. You might find the Table and LabeledTable classes in the Java SDSU library useful. See http://www.eli.sdsu.edu/java-SDSU/docs/.

Faculty Office XML Data
<csInstructors>
   <instructor>
      <name>Anantha</name>
      <email>anantha@cs.sdsu.edu </email>
      <office>CG-557A </office>
      <phone>619-594-2351</phone>
   </instructor>
   <instructor>
      <name>Bajic</name>
      <email>bajic@cs.sdsu.edu </email>
      <office>CG-583 </office>
      <phone>619-594-7253</phone>
   </instructor>
   <instructor>
      <name>Beck</name>
      <email>beck@cs.sdsu.edu </email>
      <office>CG-407B </office>
      <phone>619-594-6191</phone>
   </instructor>
   <instructor>
      <name>Carroll</name>
      <email>carroll@rohan.sdsu.edu </email>
      <office>CG-537 </office>
      <phone>619-594-7242</phone>
   </instructor>
   <instructor>
      <name>Donald</name>
      <email>jdonald@cs.sdsu.edu </email>
      <office>CG-541 </office>
      <phone>619-594-7248</phone>
   </instructor>
   <instructor>
      <name>Eckberg</name>
      <email>eckberg@cs.sdsu.edu </email>
      <office>CG-543 </office>
      <phone>619-594-6834</phone>
   </instructor>
   <instructor>
      <name>Lewis</name>
      <email>lewis@cs.sdsu.edu </email>
      <office>CG-544 </office>
      <phone>619-594-6425</phone>
   </instructor>
   <instructor>
      <name>Marovac</name>
      <email>nenad@cs.sdsu.edu </email>
      <office>CG-533 </office>
      <phone>619-594-4345</phone>
   </instructor>
   <instructor>
      <name>Riggins</name>
      <email>ariggins@cs.sdsu.edu </email>
      <office>CG-534 </office>
      <phone>619-594-6809</phone>
   </instructor>
   <instructor>
      <name>Roch</name>
      <email>mroch@cs.sdsu.edu </email>
      <office>CG-536 </office>
      <phone>619-594-5830</phone>
   </instructor>
   <instructor>
      <name>Root </name>
      <email>billroot@cs.sdsu.edu </email>
      <office>CG-531 </office>
      <phone>619-594-6837</phone>
   </instructor>
   <instructor>
      <name>Stewart</name>
      <email>stewart@sdsu.edu </email>
      <office>CG-535 </office>
      <phone>619-594-7243</phone>
   </instructor>
   <instructor>
      <name>Swiniarski</name>
      <email>rswiniar@rohan.sdsu.edu </email>
      <office>CG-545 </office>
      <phone>619-594-5538</phone>
   </instructor>
   <instructor>
      <name>Tarokh </name>
      <email>tarokh@cs.sdsu.edu </email>
      <office>CG-615 </office>
      <phone>619-594-2640</phone>
   </instructor>
   <instructor>
      <name>Valafar </name>
      <email>faramarz@cs.sdsu.edu </email>
      <office>CG-617 </office>
      <phone>619-594-3742</phone>
   </instructor>
   <instructor>
      <name>Vuskovic </name>
      <email>marko@cs.sdsu.edu </email>
      <office>CG-547 </office>
      <phone>619-594-4302</phone>
   </instructor>
   <instructor>
      <name>Whitney</name>
      <email>whitney@cs.sdsu.edu </email>
      <office>CG-561 </office>
      <phone>619-594-3535</phone>
   </instructor>
<csInstructors>

Copyright ©, All rights reserved.
2003 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA.
OpenContent license defines the copyright on this document.

    visitors since 13-Mar-03