<?xml version="1.0"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html"/>

<xsl:template match="/">
  <html>
  <head>
    <title><xsl:value-of select="Refsbook/Author/Name"/></title>
    <style>@import url(http://refsbook.com/template-01.css);</style>
  </head>
  <body>
    <h2><xsl:value-of select="Refsbook/Author/Name"/> - References</h2>
    <table>
      <tr>
        <th>Title</th>
        <th>Description</th>
        <th>Screenshot</th>
      </tr>
      <xsl:for-each select="Refsbook/Reference">
        <tr>
          <td><xsl:value-of select="Title"/></td>
          <td><xsl:value-of disable-output-escaping="yes" select="Description"></xsl:value-of> <xsl:value-of select="Description"/> </td>
          <td>
	    <a href="{Url}">
	    <img src="{Thumb_url}"/>
	    </a>
	  </td>
        </tr>
      </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template>

</xsl:stylesheet>

