<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
  <html>
  <body>
    <h2>OW Students</h2>
    <table border="1">
    <tr bgcolor="#ffcc33">
      <th>Name</th>
      <th>Major</th>
      <th>GPA</th>
    </tr>
    <xsl:for-each select="OWstudents/Student">
    <xsl:sort select="name"/>
    <tr>
      <td><xsl:value-of select="name"/></td>
      <td><xsl:value-of select="major"/></td>
      <xsl:choose>
          <xsl:when test="gpa &gt; 3.2">
            <td bgcolor="#ff00ff">
            <xsl:value-of select="gpa"/></td>
          </xsl:when>
          <xsl:otherwise>
            <td><xsl:value-of select="gpa"/></td>
          </xsl:otherwise>
      </xsl:choose>
     </tr>
     </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template></xsl:stylesheet>