<xsl:transform version="1.0" 
	       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="common.xsl"/>
<xsl:variable name="base-locale">.</xsl:variable>
<xsl:template match="catalogue">
  <xsl:comment>This file is automatically generated. Do not edit!</xsl:comment>
  <html>
    <xsl:call-template name="header"/>
    <body bgcolor="white">
      <xsl:call-template name="title"/>
    <xsl:call-template name="author"/>
      <xsl:call-template name="alphalist"/>
      <xsl:call-template name="copyright"/>
      <hr/>
      <xsl:apply-templates select="entry"/>
      <hr/>
    </body>
  </html>
</xsl:template>
<xsl:template match="entry">
  <table cellpadding="3" width="100%">
    <tr>
    <th align="left" valign="top" width="20%">
    <big>
    <!--TRACE xsl:value-of select="substring(preceding::entry[1]/@id,1,1)"/-->
    <!--TRACE xsl:value-of select="substring(@id,1,1)"/-->
    <xsl:if test="substring(@id,1,1)!=substring(preceding::entry[1]/@id,1,1)">
      <a name="{translate(substring(@id,1,1),
	 'abcdefghijklmnopqrstuvwxyz', 
	 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')}"></a>
      <h3>
         <xsl:value-of select="translate(substring(@id,1,1),
		       'abcdefghijklmnopqrstuvwxyz', 
		       'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>:</h3>
    </xsl:if>
    <a name="{@id}" href="entries/{@id}.html">
      <xsl:value-of select="about/name"/>
    </a>
    </big>
    </th>
    <td align="left" valign="bottom" width="80%">
      <em>
        <xsl:value-of select="about/caption"/>
      </em>
      </td>
    </tr>
  </table>
  </xsl:template>
</xsl:transform>


