The slides of the course are in PDF and cover the following topics:
The following documents contain the examples mentioned on the slides:
An example file referencing two DTDs: mathmlInXHTML.xml
Example program in Java that traverses a DOM tree (adapted from Chris Mair)
The following documents contain the examples mentioned on the slides:
One of the exercises is to write DTDs for the document recipes-elem.xml and recipes.xml.
As a starting point for the DOM 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 the XPath exercises, you need the file countries.xml.
For the XPath exercises, you need the file courses-ID.xml.
For these exercises, you need the files countries.xml, and countries.dtd.
For these exercises, you need the files countries.xml, and countries.dtd.
For these exercises, you need the files juicers.dtd, juicers.xml, juicers5.xml, juicers6.xml, juicers7.xml, juicers0.xml, juicers0.xsd, juicers8.xml, and juicers9.xml,
The following papers may help you to build up your intuition:
You may get further inspiration from the website of DeltaXML Ltd.
To give you an idea what you will be asked to do in an exam, have a look at the
exam of 13 September 2012.
The questions of the exam referred to the three XML files
mondial-small.xml,
mondial-small.xsd,
mondial.xml, and
to the text file
answers.txt.
The exam of 22 February is now marked.