1:<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   2:<xsl:output method="html"/>
   3:
   4:<xsl:template match="/">
   5:<html>
   6:    <head>
   7:        <title>Student Directory</title>
   8:    </head>
   9:    <body>
  10:    <xsl:apply-templates />
  11:    </body>
  12:</html>
  13:</xsl:template>
  14:
  15:<xsl:template match="student_list">
  16:    <h3>Student Directory for example.edu</h3>
  17:    <xsl:apply-templates />
  18:</xsl:template>
  19:
  20:<xsl:template match="name">
  21:    <p>Name: <xsl:apply-templates /></p>
  22:</xsl:template>
  23:
  24:<xsl:template match="major">
  25:    <p>Major: <xsl:apply-templates /></p>
  26:</xsl:template>
  27:
  28:<xsl:template match="phone">
  29:    <p>Phone: <xsl:apply-templates /></p>
  30:</xsl:template>
  31:
  32:<xsl:template match="email">
  33:    <p>Email: <xsl:apply-templates /></p>
  34:</xsl:template>
  35:
  36:</xsl:stylesheet>