XML Programming


Instructors
Name Phone Email
Todd Catelotti (413) 494-6997 Todd
Ken Brophy (413) 494-5199 Ken
Russ Nichols (413) 494-7026 Russ

Synopsis
This workshop-style class will cover programming techniques useful with XML. Topics include the two most widely adopted XML APIs: the Document Object Model (DOM) and the Simple API for XML (SAX). The two APIs will be contrasted for their strengths and weaknesses. The course will use both the C++ and Java programming languages. Students will be given presentations covering a topic and will then write/compile/test software pertaining to that topic in the class. The instructors will assist the students during class with any difficulties and there will be no external assignments. The prerequisites for this course are an understanding of XML, and basic knowledge of either C++ or Java.


Course-Wide Resources

Books

Links

Net Meeting Info

Topics

XML Refresher ( October 24, 2002 )
Document Object Model Part 1 ( October 31, 2002 )
DOM Editor Overview ( October 31, 2002 )
DOM Part 2 ( November 7, 2002 )
Simple API for XML (SAX) ( October 24, 2002 )

XML Refresher

Description

A whirlwind tour of XML.

Topic Materials

Presentation

Homework

Reference chapters 1, 2, & 3 in the textbook if you still feel rusty.

Document Object Model Part 1

Description

The DOM Core interfaces and structure.

Topic Materials

The DOM Presentation focuses on the DOM Core interfaces. We will go through other interfaces by examining the source code's API documentation.

Homework

Reference chapter 11 in the textbook if you'd like to see more.

DOM Editor Overview

Description

The DOM Editor is an XML Editor written specifically as a demonstration vehicle for this class. It can display and edit (limited) XML documents. We will walk through the 'finished' version of the editor so that it's features can be pointed out and discussed. Then we will work on a version which has been stripped of some of the functionality which you, the students, will put back in.

Topic Materials

In-class demonstration.

DOM Part 2

Description

Modifying XML structures through the DOM and object serialization and de-serialization techniques.

Topic Materials

This class will be taught by examining code.

Simple API for XML (SAX)

Description

Coming soon...

Topic Materials

Homework

Reference chapter 12 in the textbook if you'd like to see more.