XSL :
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="html"/>
<xsl:template match="/">
<html><body>
<xsl:apply-templates/>
</body></html>
</xsl:template>
<xsl:template match="biblio">
<h1>Bibliotheque:</h1>
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="produit">
<h2>Produit <xsl:value-of select="nom"/></h2>
<p>Prix : <xsl:value-of select="prix"/>
en <xsl:value-of select="prix/@devise"/></p>
<xsl:if test="commentaire">
<p><xsl:value-of select="commentaire"/></p>
</xsl:if>
</xsl:template>
</xsl:stylesheet>