SSC1: Introduction to XML - Volker Sorge
This page contains some resources for the section on XML.
Lecture Notes
Here are the slides and the lecture notes. The notes are more printer friendly and
are a superset of the slides.
Code Examples
The following are some simple code examples that demonstrate basic manipulations
using XML. You can import them into your IDE, but it is easiest to simply
compile and run them on the command line of your shell.
- io5.java: Removes all attributes from each element from an XML file.
- mix.java: Adds contents and attributes to an XML file.
The following is the example implementation of the Friends class that we have worked
on in the lecture. Best to download the entire directory and use it as package Friends.
The directory also contains some sample XML files.
- friends: The directory containing the implementation of the Friends class.
Last modified: Sun Oct 25 16:55:16 CET 2009