<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" version="1.0">
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl">
 <head>
  <title>Voorbeeld xml + xsl</title>

  <style type="text/css">
   html{
    background:yellow;
    font-family:verdana, sans-serif;
   }
   table tr td{
    width:200px;
    border:1px solid #000;
   }
  </style>
 </head>

 <body>
  <table>
   <tr>
    <th>Jaar</th>
    <th>Aantal</th>
    <th>Oppervlakte (ha)</th>
   </tr>

  <xsl:apply-templates select="document/landbouwbedrijven/biologisch/situatie"/>
  </table>
 </body>
</html>
</xsl:template>

<xsl:template match="document/landbouwbedrijven/biologisch/situatie">
 <tr xmlns="http://www.w3.org/1999/xhtml">
  <td><xsl:value-of select="jaar"/></td>
  <td><xsl:value-of select="aantal"/></td>
  <td><xsl:value-of select="oppervlakte"/></td>
 </tr>
</xsl:template>
</xsl:stylesheet>
