>>syllabus

Lab/Assignment: Counting with XSLT

  1. Use bibliography.xml as input, and write an XSLT stylesheet named counting.xsl that produces the output:

    1. bibliographic entries: [number of <biblStruct> elements]  
    2. Articles/Essays: [number of <biblStruct> elements with <analytic> children]  
    3. Books: [number of <biblStruct> elements without <analytic> children]
    
  2. Use bibliography.xml as input, and write an XSLT stylesheet named 1972.xsl that lists the items published in 1972.

  3. Bonus!: Write an XSLT stylesheet named seventies.xsl that lists the items published in the 1970s. (Hint: Look at the starts-with() function.)

For grading, submit a zip file containing your counting.xsl, 1972.xsl, and seventies.xsl files.