The slides of the course are in PDF and cover the following topics:
Example program in Java that traverses a DOM tree (adapted from Chris Mair)
As a starting point for the exercises, you can use the
DOMTest.java
example.
A good text case is the
recipes.xml
dataset.
You can see from the
DocPrinter.java
code how to output XML using the Transformer factory.
For this exercise, you need the files juicers.dtd and juicers.xml.
For these exercises, you need the files juicers5.xml, juicers6.xml, and juicers7.xml.
For these exercises, you need the files juicers0.xml, juicers0.xsd, juicers8.xml, and juicers9.xml.
For these exercises, you need the file countries.xml.
For these exercises, you need the file
courses-ID.xml.
-
You may want to compare your solutions with these
sample solutions.
For these exercises, you need the files
recipes.xml,
recipes.dtd,
countries.xml, and
countries.dtd.
You may want to compare your solutions with these
sample solutions.
For these exercises, you need again the files
recipes.xml,
recipes.dtd,
countries.xml, and
countries.dtd.
You may want to compare your solutions with these
sample solutions.
The following papers may help you to build up your intuition:
The exam of 13 September has been marked.