<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" encoding="ISO-8859-1" indent="yes" method="xml"/>

<xsl:template match="DOCUMENTATION">
<html>
<head>
<title><xsl:value-of select="TITRE"/></title>

<style type="text/css">
body { margin-left: 6%; margin-right: 6%; font-size: 100%; background: rgb(255,255,235) }
h1 { text-align: center; font-size: 125%; font-family: Textile, Arial Black, sans-serif; font-weight: normal }
h2 { font-size: 110%; margin-left: -3%; font-style: italic; font-family: serif }
h3 { font-size: 100%; font-weight: bold; font-family: serif }
hr { margin-left: -3% }
div.section { border: none; background: rgb(235,235,255); padding-left: 2em; padding-right: 2em;
padding-top: 0.5em; padding-bottom: 0.5em; margin-bottom: 1em }
p { text-indent: 1em; text-align: justify }
pre { background: rgb(235,255,235); padding-left: 2em; padding-top: 0.5em; padding-bottom: 0.5em }
tt { color: rgb(150,50,50) }

</style>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-type"/>
</head>

<body>
<xsl:if test="TITRE">
<h1><xsl:value-of select="TITRE"/></h1>
<p/>
</xsl:if>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>

<xsl:template match="TITRE">
</xsl:template>

<xsl:template match="SECTION">
<div class="section">
<xsl:if test="TITRE">
<h2><xsl:value-of select="TITRE"/></h2>
</xsl:if>
<xsl:apply-templates/>
</div>
<p/>
</xsl:template>

<xsl:template match="PARAGRAPHE">
<xsl:if test="TITRE">
<h3><xsl:value-of select="TITRE"/></h3>
</xsl:if>
<p><xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="EXEMPLE">
<pre><xsl:apply-templates/></pre>
</xsl:template>

<xsl:template match="CODE">
<tt><xsl:apply-templates/></tt>
</xsl:template>

<xsl:template match="EMPHASE">
<em><xsl:apply-templates/></em>
</xsl:template>

<xsl:template match="LIEN">
<a href="{@href}"><xsl:apply-templates/></a>
</xsl:template>

<xsl:template match="LISTE">
<ul>
<xsl:apply-templates/>
</ul>
</xsl:template>

<xsl:template match="EL">
<li><xsl:apply-templates/></li>
</xsl:template>

<xsl:template match="ESPACE">
<xsl:text>    </xsl:text>
</xsl:template>

</xsl:stylesheet>