Assignments

  1. All XML hand-ins consist of ONE, repeat ONE compressed zip/jar-archive. Create it by using the Eclipse Export menu.
  2. An archive consists of one or more text files and/or code files.
  3. Text processed files must be pdf-files.
  4. Code files must be have their native filename extension, eg. x.java, y.html, etc.
  5. Put your academy login-id into the filename, and an "_7" to number the file individually, eg: EAANILA1_7.zip
  6. Put the token dbxml somewhere in the subject, eg: Assignments dbxml
  7. Mail it to nml@acm.org

First write the xml document:


Here follows the first XSLT, key it into Eclipse:


Key in both documents. Make your editor do the transformation. In Eclipse right click the xsl-document in the project explorer and run as XSLT Transformation pointing at the xml document. When you are done create a new version of the stylesheet:


That sheet will transform the XML document to html.

Check out the results. Learn from your typing errors, and possibly do some experiments.

Try to think of creating notes when listening to a lecture, or a presentation. Then think of an XML format that might hold those notes. It could be context, date, lecturer, headline, notes etc.

Write an xml file with tags corresponding to your ideas. Put imaginary notes into the file from at least two different lectures, each containing at least two notes.