CMPT 165 Assignment 3 Part 1

Part 1: XML & XSL

For this part, you will be creating an XML file and an XSL file as a compliment to your assignment 2 company website. You do not have to edit or add links from your assignment 2 to these files.

Note: You must appropriately indent your files

XML Requirements

  1. Create an XML document for 5 of your products. These do not have to be the same as the products you used for your assignment 2 site.

    Products must contain at least the following:

    • Name
    • Price
    • Product Description
    • Number in inventory (or total sold if selling services)
  2. You must link the XML file to the appropriate XSL file that you will create below.

  3. Your XML file must have the appropriate heading information (bits at the top). You can get a blank XML document here.

XSL Requirements

  1. You must create an XSL file for your XML document.

  2. You must use some colour (plain black and white is not acceptable)

  3. You must use one of each of the following:

    • <xsl:sort>
    • either <xsl:if> or <xsl:choose>/<xsl:when>/<xsl:otherwise>
  4. Your XSL files must have the appropriate heading information (bits at the top). You can get a blank XSL document here.