<?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="5" cellspacing="3">
        <xsl:for-each select="CONTACTLIST/CONTACT">
          <tr>
            <td bgcolor="lightblue"><font face="tahoma,arial" size="-1">
              <b><xsl:value-of select="NAME" /></b>
            </font></td>
            <td bgcolor="lightblue"><font face="tahoma,arial" size="-1">
              <xsl:value-of select="ADDRESS" />
            </font></td>
            <td bgcolor="lightblue"><font face="tahoma,arial" size="-1">
              <a><xsl:attribute name="href">mailto:<xsl:value-of select="MAIL" /></xsl:attribute><xsl:value-of select="MAIL" /></a>
            </font></td>
            <td bgcolor="lightblue"><font face="tahoma,arial" size="-1">
              <xsl:for-each select="PHONE">
                <xsl:value-of select="@type" />: 
                <xsl:value-of select="." />        <br/>
              </xsl:for-each>
            </font></td>
          </tr>
        </xsl:for-each>
      </table>
    </body>
  </html>
</xsl:template>

</xsl:stylesheet>