1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Fiche projet</title></head>
<body style="background-color:#e4e79d;margin: 0;text-align: center;">
<xsl:for-each select="FICHE/PROJETS/PROJET">
<div style="width:770px; padding:5px;margin-top:10px; margin-bottom:10px;
margin-right:auto;margin-left:auto;
border:5px double #1f972b;color:red;background-color:white;font-weight:bold;
text-align:left; font-size:18pt">
<xsl:apply-templates select="nomcanton" />
<hr />
<xsl:apply-templates select="nomcommune" />
<hr />
<xsl:apply-templates select="objet" />
<hr />
<xsl:apply-templates select="coutprevu" />
<hr />
<xsl:apply-templates select="coutreel" />
<hr />
<xsl:apply-templates select="datedemande" />
<hr />
<xsl:apply-templates select="subvention" />
<hr />
<xsl:apply-templates select="datesubvention" />
<hr />
<xsl:apply-templates select="coutaide" />
<hr />
<xsl:apply-templates select="commentaire" />
</div>
</xsl:for-each>
</body>
</html>
</xsl:template>
<xsl:template match="nomcanton">
Nom canton :
<div style="font-family:Verdana, Arial; font-size:15pt;font-weight:bold;color:black;text-align:center">
<xsl:value-of select="." disable-output-escaping="yes"/>
</div>
</xsl:template>
<xsl:template match="nomcommune">
Nom commune :
<div style="font-family:Verdana, Arial; font-size:15pt;font-weight:bold;color:black;text-align:center">
<xsl:value-of select="." disable-output-escaping="yes"/>
</div>
</xsl:template>
<xsl:template match="objet">
Objet :
<div style="font-family:Verdana, Arial; font-size:15pt;font-weight:bold;color:black;text-align:center">
<xsl:value-of select="." disable-output-escaping="yes"/>
</div>
</xsl:template>
<xsl:template match="coutprevu">
Cout prevu :
<div style="font-family:Verdana, Arial; font-size:15pt;font-weight:bold;color:black;text-align:center">
<xsl:value-of select="."/> euros
</div>
</xsl:template>
<xsl:template match="coutreel">
Cout reel :
<div style="font-family:Verdana, Arial; font-size:15pt;font-weight:bold;color:black;text-align:center">
<xsl:value-of select="."/> euros
</div>
</xsl:template>
<xsl:template match="datedemande">
Date de demande :
<div style="font-family:Verdana, Arial; font-size:15pt;font-weight:bold;color:black;text-align:center">
<xsl:value-of select="."/>
</div>
</xsl:template>
<xsl:template match="subvention">
Subvention accordee par:
<div style="font-family:Verdana, Arial; font-size:15pt;font-weight:bold;color:black;text-align:center;">
<xsl:value-of select="." disable-output-escaping="yes"/>
</div>
</xsl:template>
<xsl:template match="datesubvention">
Date d'attribution :
<div style="font-family:Verdana, Arial; font-size:15pt;font-weight:bold;color:black;text-align:center">
<xsl:value-of select="."/>
</div>
</xsl:template>
<xsl:template match="coutaide">
Subvention accordee :
<div style="font-family:Verdana, Arial; font-size:15pt;font-weight:bold;color:black;text-align:center">
<xsl:value-of select="."/> euros
</div>
</xsl:template>
<xsl:template match="commentaire">
Commentaire :
<div style="font-family:Verdana, Arial; font-size:12pt;font-weight:normal;color:black;text-align:justify ">
<xsl:value-of select="." disable-output-escaping="yes" />
</div>
</xsl:template>
</xsl:stylesheet> |
Partager