<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Edited by XMLSpy® -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
  <html>
  <body>
    <h2>Bibtex Collection</h2>
    <table border="1">
    <tbody style="font-family:garamond;">
      <tr bgcolor="#999999">
        <th>Entry Type</th>
        <th>Title</th>
        <th>Author(s)</th>
        <th>Institution</th>
        <th>Year</th>
      </tr>
     
      <xsl:for-each select="bibtexentry">
  
      <xsl:for-each select="article">
      <tr>
        <td>Article</td>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="authors"/></td>
        <td>-</td>
        <td><xsl:value-of select="year"/></td>        
      </tr>
      </xsl:for-each>
      
      <xsl:for-each select="book">
      <tr>
        <td>Book</td>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="authors"/></td>
        <td>-</td>
        <td><xsl:value-of select="year"/></td>
      </tr>
      </xsl:for-each>

      <xsl:for-each select="inproceedings">
      <tr>
        <td>Inproceedings</td>
        <td><xsl:value-of select="booktitle"/></td>
        <td><xsl:value-of select="authors"/></td>
        <td>-</td>
        <td><xsl:value-of select="year"/></td>
      </tr>
      </xsl:for-each>

      <xsl:for-each select="manual">
      <tr>
        <td>Manual</td>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="authors"/></td>
        <td><xsl:value-of select="organization"/></td>
        <td><xsl:value-of select="year"/></td>
      </tr>
      </xsl:for-each>

      <xsl:for-each select="mastersthesis">
      <tr>
        <td>Masters Thesis</td>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="authors"/></td>
        <td><xsl:value-of select="school/schoolname"/></td>
        <td><xsl:value-of select="year"/></td>
      </tr>
      </xsl:for-each>

      <xsl:for-each select="misc">
      <xsl:if test="contains(title, 'Geometry')">
      <tr>
        <td>Misc</td>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="authors"/></td>
        <td>-</td>
        <td><xsl:value-of select="year"/></td>
      </tr>
      </xsl:if>
      </xsl:for-each>

      <xsl:for-each select="phdthesis">
      <tr>
        <td>PhD Thesis</td>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="authors"/></td>
        <td><xsl:value-of select="school/schoolname"/></td>
        <td><xsl:value-of select="year"/></td>
      </tr>
      </xsl:for-each>

      <xsl:for-each select="techreport">
      <tr>
        <td>Tech Report</td>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="authors"/></td>
        <td><xsl:value-of select="school/schoolname"/></td>
        <td><xsl:value-of select="year"/></td>
      </tr>
      </xsl:for-each>

      <xsl:for-each select="unpublished">
      <tr>
        <td>Unpublished</td>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="authors"/></td>
        <td>-</td>
        <td><xsl:value-of select="year"/></td>
      </tr>
      </xsl:for-each>

</xsl:for-each>

    </tbody>
    </table>
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>