<?xml version="1.0"?>
<xsl:stylesheet id="maisons" version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html"/>
<xsl:template match="maison">
  <html>
    <body>
	<h1>
      MAISON
      </h1>
      <xsl:apply-templates/>
    </body>
  </html>
</xsl:template>

<xsl:template match="salon">
  <h2>
  Le salon contient
  <xsl:apply-templates/>
  </h2>
  <hr align="left" width="200" />
</xsl:template>

<xsl:template match="fauteuil">
  <p>un fauteuil
	<xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="chaine">
  <p>une chaine
 <xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="ampli">
  <p>un ampli<xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="commode">
  une commode qui contient
  <p><xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="livre">
  <p>un livre
  <xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="television">
une television
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="canape">
  <i><xsl:apply-templates/></i>
  <br />
</xsl:template>

</xsl:stylesheet>


