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.
Your queries should run over documents satisfying the DTD
recipes.dtd,
like for instance
recipes.xml.
Submit your solutions in the file
recipe-queries.txt.