<?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>File Processing Phase</h2>
    <xsl:for-each select="phase/directory/directory">
    <h3>Path: <xsl:value-of select="@path"/></h3>
      <table border="1" width="600px">
      <tr bgcolor="#9acd32">
      <th align="left">Filename</th>
      <th align="left">User</th>
      <th align="left">Bytes</th>
      <th align="left">Type</th>
      </tr>
      <xsl:for-each select="file">
        <tr>
        <td><xsl:value-of select="name"/></td>
        <td><xsl:value-of select="user"/></td>
        <td><xsl:value-of select="bytes"/></td>
        <td><xsl:value-of select="type"/></td>
        </tr>
      </xsl:for-each>
      </table><br />
    </xsl:for-each>
  </body>
  </html>
</xsl:template>

</xsl:stylesheet>
