<?xml version="1.0" encoding="utf-8" ?>
<html xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  <head>
    <title><xsl:value-of select="album/@title" /></title>
    <link rel="stylesheet" type="text/css" href="mp3ren.css" />
  </head>

<body>
  <table class="album"><col class="header" /><col class="value" /><tbody>
    <tr><th>Artist</th>
        <td><xsl:value-of select="album/@artist" /></td></tr>
    <tr><th>Album</th>
        <td><xsl:value-of select="album/@title" /></td></tr>
    <tr><th>Year</th>
        <td><xsl:value-of select="album/@year" /></td></tr>
    <tr><th>Genre</th>
        <td><xsl:value-of select="album/@genre" /></td></tr>
    </tbody></table><br />
  <table class="files"><thead>
    <tr><th>Track</th>
        <th>Source File</th>
        <th>Result File</th>
        <th>Title</th></tr></thead>
    <tbody><xsl:for-each select="album/file">
    <tr><xsl:if 
            expr="(childNumber(this) % 2) == 0"><xsl:attribute 
            name="class">fade</xsl:attribute></xsl:if><td class="number"><xsl:value-of select="@track" />.</td>
        <td><xsl:value-of select="@oldName" /></td>
        <td><xsl:value-of select="@newName" /></td>
        <td><xsl:value-of select="@title" /></td></tr></xsl:for-each></tbody></table>
</body></html>
