<?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>
    <head>
      <title>Adressliste</title>
    </head>
    <body>
      <table cellpadding="20" cellspacing="20">
        <xsl:for-each select="CONTACTLIST/CONTACT">
          <tr>
            <td bgcolor="gold">
              <b><xsl:value-of select="NAME" /></b>  <br/>
              <xsl:value-of select="ADDRESS" />    <br/>
              <a><xsl:attribute name="href">mailto:<xsl:value-of select="MAIL" /></xsl:attribute><xsl:value-of select="MAIL" /></a><br/>
              <xsl:for-each select="PHONE">
                <xsl:value-of select="@type" />: 
                <xsl:value-of select="." />        <br/>
              </xsl:for-each>
            </td>
          </tr>
        </xsl:for-each>
      </table>
    </body>
  </html>
</xsl:template>

</xsl:stylesheet>