Exercises for Lecture 3

XSLT

  1. Create a different stylesheet for the recipes. Change the XHTML markup to obtain a different look.
  2. Create a new stylesheet for the recipes that only shows the title of each recipe.
  3. Create a stylesheet (producing XHTML) for your own XML version of the weblog.
  4. Use the file transform.php to make the above transformations dynamically.
    Hint: Create an empty file "myresult.xml" before you start the transformation.

Tips