CS285 -- Lab 1: XML Parser



->Courses
->CS285
-->Homework
-->Quiz 1
->Lab 1
-->Lab 2
-->Lab 3
-->Lab 4
-->Lab 5
-->Lab 6
->Electronic Submission
->MSVC Info
->STL Help
->Book Errata
->Tentative Schedule
->Course Policies

[Courses]
[Rich][Home][Rich]
[Author]

Fall Quarter 2000

Overview

XML, the Extensible Markup Language, is a mark up language designed to facilitate electronic information exchange. XML is similar to HTML, but it allows you to define your own markup tags. An introduction to XML is available on IBM's website.

In this lab, you will write a program that will convert a particular XML document to HTML.

Procedures

Write an XML parser that will convert this XML document into an HTML compatible document like this one. Your program should be able to handle other XML documents that contain the same tags. In particular, your program should be able generate an HTML document corresponding to this XML document. In your report, you should include (within \begin{verbatim} and \end{verbatim} formatting commands) the resulting HTML document produced when the sample2.xml document is used as input to your XML parser.

Lab report (due 11:00pm, the day prior to week 4 lab)

Your report should include:

  • Your design documentation.
  • The Documented source code for your program.
    You may find it useful to use the code.bat and dump.bat batch files to produce one file containing all of your source code with the markup commands required by my electronic submission process.
  • Sample program output.
  • A brief description of any problems you encountered or questions you have regarding the lab.
  • A discussion of what each team member accomplished.
  • A summary of your activity log indicating how much time you spent on the assignment. In addition to the total time spent on the project, please report the time in the following categories:
    • Design
    • Coding
    • Debug (before you think it's working)
    • Test (after you think it's working)
    • Documentation
    • Other
  • Any suggestions you have for how the lab could be improved.

As with any report you submit, correct spelling and grammar are required. In addition, your report should be submitted electronically following the Electronic submission guidelines. (You may wish to consult the sample report before submitting your report.) Be sure to keep copies of all your files, in case something gets lost. It may be wise to keep a diskette backup as well.

Your grade will depend on quality of design, clarity of code and documentation, as well as whether your program produces the correct results. Note: This lab is worth double points. If you have any questions, consult your instructor.

Office: CC-27C, Phone: 277-7339
Last Updated: September 15, 2000
© 2000 Dr. Christopher C. Taylor