<?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>
		<BODY>
			<ul>
				<li><b>Titre : </b><br/>
				<div style="background-color:#3399ff;color:#ccffff;font-weight:bold;padding:4px;font-size=19pt"><center>&quot;<xsl:value-of select="article/article_meta/titre"/>&quot;</center></div></li>
				<li><b>Auteur : </b><xsl:value-of select="article/article_meta/auteur"/></li>
				<li><b>Revue :</b> <xsl:value-of select="article/article_meta/revue"/></li>
				<li><b>Num pages :</b> <xsl:value-of select="article/article_meta/num_pages"/></li>
				<li><b>Num Volume :</b> <xsl:value-of select="article/article_meta/num_volume"/></li>
				<li><b>Num Tome :</b> <xsl:value-of select="article/article_meta/num_tome"/></li>
				<li><b>Editeur :</b> <xsl:value-of select="article/article_meta/editeur"/></li>
				<li><b>Date Pub :</b> <xsl:value-of select="article/article_meta/date_pub"/></li>
				<br/>
				<br/>
				  <xsl:for-each select="article/contenu_article/section">
					   <table summary="" border="1" width="96%">
					     <tr bordercolor="#000000">
								<td>
								 <xsl:for-each select="para/contenu_para/figure">
  									<img>
  										<xsl:attribute name="src">
  							 				<xsl:value-of select="graphic/@fileref" />
  										</xsl:attribute>
									</img>
									<br/><b><font style="font-size=8pt;font-family: Arial"><xsl:value-of select="titre"/></font></b><br/>
								 </xsl:for-each>
								   <i><div style="background-color:#3399ff;color:#ccffff;font-weight:bold;padding:4px;font-size=15pt"><xsl:number/><xsl:text>. </xsl:text><xsl:value-of select="titre_section"/>
								      </div></i><br/>
											<xsl:variable name="ctsection"><xsl:number/></xsl:variable>
								      <xsl:for-each select="para">
													<font style="font-size=10pt;font-family: Arial"><xsl:value-of select="contenu_para"/></font><br/>
								      </xsl:for-each>
								  <xsl:for-each select="sous_section">
								   <center><table summary="" border="0" width="99%">
								 	  <tr bordercolor="#000000">
									   <td>
						 		       <i><div style="background-color:#cccccc;color:#ff9900;font-weight:bold;padding:4px;font-size=13pt"><xsl:value-of select="$ctsection"/><xsl:text>.</xsl:text><xsl:number/><xsl:text>. </xsl:text><xsl:value-of select="titre_sous_section"/></div></i><br/>
											 <xsl:variable name="ctsoussection"><xsl:number/></xsl:variable>
						 		       <font style="font-size=9pt;font-family: Arial"><xsl:value-of select="para/contenu_para"/></font><br/>
										   <xsl:for-each select="para/contenu_para/figure">
  											<img>
  												<xsl:attribute name="src">
  							 						<xsl:value-of select="graphic/@fileref" />
  												</xsl:attribute>
											  </img>
											  <br/><b><font style="font-size=8pt;font-family: Arial"><xsl:value-of select="titre"/></font></b><br/>
										  </xsl:for-each>
								    <xsl:for-each select="s_s_section">
									  <xsl:if test="titre_s_s_section!=''">
								   <center>
								   <table summary="" width="99%" bgcolor="#ffffcc">
                   <tr bordercolor="#000000">
								     <td>
                          <i><div style="background-color:#ffcc66;color:#3399ff;font-weight:bold;padding:4px;font-size=12pt">
											    <xsl:value-of select="$ctsection"/><xsl:text>.</xsl:text><xsl:value-of select="$ctsoussection"/><xsl:text>.</xsl:text><xsl:number/><xsl:text>. </xsl:text><xsl:value-of select="titre_s_s_section"/></div></i><br/>
						              <font style="font-size=8pt;font-family: Arial">
											 		<xsl:value-of select="para/contenu_para"/></font><br/>
											 <xsl:for-each select="s_s_section/para/contenu_para/figure">
  							 			  <img>
  							  		    <xsl:attribute name="src">
  							 		 	      <xsl:value-of select="graphic/@fileref" /> 
  							  		    </xsl:attribute>
								 			  </img>
								 			 </xsl:for-each>	 
											 <br/>
								        <xsl:value-of select="s_s_section/para/contenu_para/figure/titre"/><br/>
											</td>
                      </tr>
                      </table>
								     </center>
								    </xsl:if>
										</xsl:for-each>
								   </td>
                  </tr>
               </table></center><br/>
							  </xsl:for-each><br/>
							</td>
						 </tr>
					</table><br/>
					</xsl:for-each><br/>
		<li><div style="background-color:#3399ff;color:#ccffff;font-weight:bold;padding:4px;font-size=16pt">Bibliographie :</div>
				<ul>
					<xsl:for-each select="article/bibliographie">
						<li><b><font style="font-size=9pt;font-family: Arial"><xsl:value-of select="contenu_bibliographie"/></font></b></li>
					</xsl:for-each>
				</ul>
		</li>
		<br/>	
		<li><div style="background-color:#3399ff;color:#ccffff;font-weight:bold;padding:4px;font-size=16pt">Note :</div>
			       <ul>
								<xsl:for-each select="article">
										<li><b><i><font style="font-size=9pt;font-family: Arial"><xsl:value-of select="contenu_note"/></font></i></b></li>
								</xsl:for-each>
							</ul>
			</li>
			</ul>
		</BODY>
	 </HTML>
	</xsl:template>
</xsl:stylesheet>